跳到主要内容

is_valid

验证参数是否符合 schema

声明

bool is_valid(mixed opts, mixed schema)

参数

参数名描述
schema

返回值

使用方式

返回文档