ajv.getSchema: The Ajv.compile method

Description Usage Arguments Value

View source: R/validator_methods.R

Description

Create an Ajv validator function from a schema

Usage

1
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


ajv documentation built on May 2, 2019, 2:11 p.m.