Skip to content
v0.19 のドキュメントを表示しています。最新バージョンは v0.20 です。 最新のドキュメントへ

@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? ​

Host

limits? ​

Partial<Limits>

戻り値 ​

ValidationResult