Method Standards.JSON.Validator()->validate_item_type()
- Method
validate_item_type
private
string
|zero
validate_item_type(string
key
,mixed
value
,mapping
schema
)- Description
Verify that the specified value has the correct type that is defined by schema->type. schema->type can be any of
"boolean",
"integer",
"number",
"string",
"array",
"object",
"null",
or an array of these.