__CreateDynamicEntity
Builtins · internal core builtin · accessible from
Bootstraponly
Creates a new dynamic entity.
Dynamic entities belong to the current session and are removed by __Cleanup.
Parameters
Entity(Base)? meta— The meta entity of the new dynamic entity.String? name— The name of the new entity, ornullto generate a GUID.
Returns
Entity(Base) — The new dynamic entity.
Errors
A runtime type error if meta is not an Entity.