@ue-too/being-portable / validateDefinition
Function: validateDefinition()
validateDefinition(
document,options):ValidationResult
Defined in: being-portable/src/api.ts:18
Checks an untrusted document without building a machine. With a host, also checks that the host supplies every declared effect with matching types.
Limits come from options.limits if given, else from the host, else the defaults.
Parameters
document
unknown
options
host?
limits?
Partial<Limits>