Optional
properties: Partial<Record<MagicalPropertyType, AnyMagicalProperty>>Readonly
eventa list of all the magical properties on this object,
a magical property on this object, if it exists
a magical sub-property on this object, if it exists
Rest
...identity: MagicalPropertyIdentity<[]>a magical property on this object, if it exists
a magical sub-property on this object, if it exists
Rest
...identity: MagicalPropertyIdentity<[]>whether the given type of magical property is present on this object
whether the given type of magical sub-property is present on this object
Rest
...identity: MagicalPropertyIdentity<[]>if this object has any magical properties
if this object has any of the given magical property types
Rest
...types: MagicalPropertyIdentityFlat[]a list of all the "normal" magical property types on this object — ie, the ones without subtypes
Removes a magical property on this object, if it exists
whether the magical property was removed — ie, if it existed
Removes a magical sub-property on this object, if it exists. If all sub-properties are removed, the super-property is too.
whether the magical sub-property was removed — ie, if it existed
Sets a magical property on this object. Replaces any existing magical property of that type
Sets a magical sub-property on this object. Replaces any existing magical sub-property of that type
a list of all the magical sub-properties for the given type on this object, if any
a list of all the magical sub-property types of the given supertype on this object
a list of all the magical sub-property types of the given supertype on this object
Translates a list of the magical properties on this object, including sub-properties
Optional
ender: false | ListEnderThe way to end this list translation, ie and/or
Optional
format: default | ((type: MagicalPropertyType, subType?: MagicalSubPropertySubTypes) => default)A formatting-translation to apply to each magical property
a list of all the magical property types on this object
Static
inheritStatic
translatea translation for a magical property type
a translation for a magical sub-property type
Rest
...identity: MagicalPropertyIdentity<[]>Static
translatea translation for a magical property type
a translation for a magical sub-property type
Generated using TypeDoc
Returns
a list of all the magical properties on this object