Skip to content

Documentation / @ripl/3d / lightIsAmbient

Function: lightIsAmbient() ​

lightIsAmbient(light): light is AmbientLight

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

Type guard that narrows a light to an AmbientLight.

Parameters ​

ParameterType
lightLight

Returns ​

light is AmbientLight