Documentation / @ripl/core / typeIsPoint
Function: typeIsPoint() ​
typeIsPoint(
value):value is Point
Defined in: packages/core/src/math/geometry.ts:224
Type guard that checks whether a value is a Point (a two-element array).
Parameters ​
| Parameter | Type |
|---|---|
value | unknown |
Returns ​
value is Point