SerializableRegistry
constSerializableRegistry:object
Defined in: Serializable.ts:19
Read-only access to the serializable type registry.
Type Declaration
Section titled “Type Declaration”delete()
Section titled “delete()”delete(
type):boolean
Remove a type from the registry.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean
entries()
Section titled “entries()”entries():
IterableIterator<[string, (…args) =>any]>
Iterate all registered [type, class] entries.
Returns
Section titled “Returns”IterableIterator<[string, (…args) => any]>
get(
type): ((…args) =>any) |undefined
Look up a class by its type string.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”((…args) => any) | undefined
has(
type):boolean
Check if a type string is registered.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean