@ue-too/being-portable / validateDefinition
関数: validateDefinition()
validateDefinition(
document,options):ValidationResult
定義: 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.
パラメータ
document
unknown
options
host?
limits?
Partial<Limits>