Documentation / @ripl/core / elementIsPolygon
Function: elementIsPolygon()
elementIsPolygon(
value):value is Polygon
Defined in: packages/core/src/elements/polygon.ts:108
Type guard that checks whether a value is a Polygon instance.
Parameters
| Parameter | Type |
|---|---|
value | unknown |
Returns
value is Polygon