Skip to content

IsInstanceOf

Bool IsInstanceOf(Entity(Base) entity, Entity(Base) meta)

System · system operation · implicitly imported

Checks whether an entity is an instance of a meta entity.

Parameters

  • Entity(Base) entity — The entity to check.
  • Entity(Base) meta — The meta entity to check against.

Returns

Bool — true if entity is an instance of meta.

Errors

A runtime type error if entity or meta is not an Entity.

See Also