Documentation / @ripl/core / elementIsShape
Function: elementIsShape() ​
elementIsShape(
value):value is Shape<Partial<BaseState>>
Defined in: packages/core/src/core/shape.ts:117
Type guard that checks whether a value is a Shape instance.
Parameters ​
| Parameter | Type |
|---|---|
value | unknown |
Returns ​
value is Shape<Partial<BaseState>>