Get the type entity (Type.AnyObj) the object was created from.
Returns undefined when the object'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 object loaded from storage before its schema is known). To
get the Effect Schema from the returned entity, use Type.getSchema(...).
Get the type entity (
Type.AnyObj) the object was created from.Returns
undefinedwhen the object'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 object loaded from storage before its schema is known). To get the Effect Schema from the returned entity, useType.getSchema(...).