ajv.getSchema: The Ajv.compile method

Description Usage Arguments Value

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


jdthorpe/ajvr documentation built on May 18, 2019, 11:37 p.m.