ajv.validate {ajv} | R Documentation |
A wrapper for the Ajv.validate method
Description
The equivalent of calling var ajv = new Ajv(); ajv.validate(...)
in javascript.
Usage
ajv.validate(this, schema, data)
Arguments
this |
An AJV instance, provided implicitly when called via |
schema |
The Schema with which to validate the |
data |
The data to be validated. may be any of the above foremats. |
See Also
Other AJV.Instance.Methods: ajv.addFormat
,
ajv.addKeyword
,
ajv.addSchema
,
ajv.errorsText
, ajv.keyword
,
ajv.removeSchema
,
ajv.validateSchema
Examples
## Not run:
my_ajv_instance = Ajv()
my_ajv_instance$validate
## End(Not run)
[Package ajv version 1.0.0 Index]