Method Standards.JSON.Validator()->has_schema_boolean()
- Method
has_schema_boolean
private
bool
has_schema_boolean(mapping
(string
:mixed
)schema
,string
property
)- Description
Test if the schema has the specified property and the value of the property is a boolean (with values Standards.JSON.true or Standards.JSON.false).
- Throws
Throws an error if the value of the property is no boolean.
- Returns
1 if the schema has the specified property.