Skip to content

Documentation / @ripl/3d / typeIsLight

Function: typeIsLight() ​

typeIsLight(value): value is Light

Defined in: 3d/src/core/lights.ts:377

Type guard that checks whether a value is any kind of Light.

Parameters ​

ParameterType
valueunknown

Returns ​

value is Light