between

fun between(a: Vec2, b: Vec2, c: Vec2): Boolean(source)

Return

whether b sits between the vectors a and b