Step - validate_schema

validate_schema · validateSchema · category: Schema

Dry run of set_schema(): checks the data against a schema map (optionally with a SchemaMode) and returns {violations, diff, compatible}.

Forms

validate_schema(arg1: any)
validate_schema(arg1: any, arg2: any)

Example

g.validate_schema(g.infer_schema())["compatible"]   // true

See also