__GetValue
Builtins · internal core builtin · accessible from
Bootstraponly
Overloads
ObjectType? __GetValue(String id)
Gets the Value of the entity with the given id.
Parameters
String id— The id of the entity.
Returns
ObjectType? — The Value of the entity, or null if the entity has no Value or does not exist.
Errors
A runtime type error if id is not a String.
ObjectType? __GetValue(Entity(Base)? entity)
Gets the Value of the given entity.
Parameters
Entity(Base)? entity— The entity to get the Value of.
Returns
ObjectType? — The Value of the entity, or null if it has no Value or entity is null.
Errors
A runtime type error if entity is not an Entity.