hasComponent

Returns whether a particular entity has a light component.

Return

true if entity has a light component

Parameters

entity

Entity to check