Skip to content

Documentation / @ripl/3d / lightIsPoint

Function: lightIsPoint() ​

lightIsPoint(light): light is PointLight

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

Type guard that narrows a light to a PointLight.

Parameters ​

ParameterType
lightLight

Returns ​

light is PointLight