Get the type entity (Type.AnyEntity) the instance was created from.
Returns undefined when the entity's type isn't registered in this runtime
(e.g. a freshly deserialized snapshot whose type entity hasn't been wired
up yet, or an entity loaded from storage before its schema is known). To
get the Effect Schema from the returned entity, use Type.getSchema(...).
For a type entity, returns the meta-type Type.Type (a type entity's
type is "Type").
Get the type entity (
Type.AnyEntity) the instance was created from.Returns
undefinedwhen the entity's type isn't registered in this runtime (e.g. a freshly deserialized snapshot whose type entity hasn't been wired up yet, or an entity loaded from storage before its schema is known). To get the Effect Schema from the returned entity, useType.getSchema(...).For a type entity, returns the meta-type Type.Type (a type entity's type is "Type").