Description Usage Arguments See Also Examples
The equivalent of calling var ajv = new Ajv(); ajv.validate(...)
in javascript.
1 | ajv.validate(this, schema, data)
|
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. |
Other AJV.Instance.Methods: ajv.addFormat
,
ajv.addKeyword
,
ajv.addSchema
,
ajv.errorsText
, ajv.keyword
,
ajv.removeSchema
,
ajv.validateSchema
1 2 3 4 5 | ## Not run:
my_ajv_instance = Ajv()
my_ajv_instance$validate
## End(Not run)
|
function (...)
ajv.validate(x, ...)
<environment: 0x25895a8>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.