CallioText API Reference - v0.0.22
文档首页 / Docs Home
Preparing search index...
validate
Function validate
validate
(
tree
:
any
,
path
?:
number
[]
)
:
[
boolean
,
string
]
验证一棵树是不是合法的中间表示树。
Parameters
tree
:
any
要验证的树。
path
:
number
[]
= []
Returns
[
boolean
,
string
]
第一个返回值说明这棵树是否合法,第二个返回值说明其为何不合法(如果不合法的话)。
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
文档首页 / Docs Home
CallioText API Reference - v0.0.22
Loading...
验证一棵树是不是合法的中间表示树。