Skip to content

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 ​

ParameterType
valueunknown

Returns ​

value is Shape3D<Shape3DState>