ktx
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
ktx
math
/
ktx.math
/
hasOppositeDirection
has
Opposite
Direction
fun
<
T
:
ImmutableVector
<
T
>
>
T
.
hasOppositeDirection
(
other
:
T
)
:
Boolean
Returns whether this vector has opposite direction compared to the
other
vector.