Skip to content

GetPackage

Entity(Bootstrap.PackageDefinition)? GetPackage(Entity(Base) entity)

System · system operation · implicitly imported

Returns the package that contains an entity.

Parameters

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

Returns

Entity(Bootstrap.PackageDefinition)? — The package entity that contains entity.

Errors

A runtime type error if entity is not an Entity.

See Also