contains

operator fun contains(other: Direction2D): Boolean

Returns whether this direction contains other. Specifically, a direction "D" contains another if D Direction2D.plus equals D. For example, NORTHEAST contains NORTH and EAST, but not WEST. All directions contain NONE. NONE contains only NONE.