Skip to content

Documentation / @ripl/3d / elementIsSphere

Function: elementIsSphere()

elementIsSphere(value): value is Sphere

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

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

Parameters

ParameterType
valueunknown

Returns

value is Sphere