Learn R Programming

ajv (version 1.0.0)

ajv.getSchema: The Ajv.compile method

Description

Create an Ajv validator function from a schema

Usage

ajv.getSchema(this, key)

Arguments

this
An AJV instance, provided implicitly when called via my_instance$getSchema(...)
key
String; the name of the schema to fetch from the Ajv instancd.

Value

an AJV validation function