Documentation / @ripl/3d / elementIsShape3D
Function: elementIsShape3D() ​
elementIsShape3D(
value):value is Shape3D<Shape3DState>
Defined in: 3d/src/core/shape.ts:428
Type guard that checks whether a value is a Shape3D instance.
Parameters ​
| Parameter | Type |
|---|---|
value | unknown |
Returns ​
value is Shape3D<Shape3DState>