Get the type entity (Type.AnyRelation) the relation was created from.
Returns undefined when the relation's type isn't registered in this
runtime (e.g. a freshly deserialized snapshot whose type entity hasn't been
wired up yet, or a relation 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.AnyRelation) the relation was created from.Returns
undefinedwhen the relation's type isn't registered in this runtime (e.g. a freshly deserialized snapshot whose type entity hasn't been wired up yet, or a relation loaded from storage before its schema is known). To get the Effect Schema from the returned entity, useType.getSchema(...).