Skip to content

Documentation / @ripl/3d / elementIsSphere

Function: elementIsSphere() ​

elementIsSphere(value): value is Sphere

Defined in: 3d/src/elements/sphere.ts:111

Type guard that checks whether a value is a Sphere instance.

Parameters ​

ParameterType
valueunknown

Returns ​

value is Sphere