Skip to content
ConcordConcordConcord

Type.isEntity

Returns true if the value is an Entity instance.

← Type

Returns true if the value is an Entity instance.

Use when accepting arbitrary tables that might be entities (e.g. world APIs, serializers).

isEntity = Type.isEntity( t )
Name Type Description
t any Object to check
Name Type Description
isEntity boolean