Skip to content

__GetID

String? __GetID(Entity(Base)? entity)

Builtins · internal core builtin · accessible from Bootstrap only

Returns the id of an entity.

Parameters

  • Entity(Base)? entity — The entity to get the id of.

Returns

String? — The fully qualified id of entity, or null if entity is null.

Errors

A runtime type error if entity is not an Entity.

See Also