Constructor
Schema tester
Schema sanitizer
Gets the raw schema, as object type
Provides the reason test() returned false, if any
The object to test
The provided error
Sanitizes an object.
The object to test
The sanitized object
Tests the schema against an object
The object to test
true if it matches the schema, false if it does not match
Sets custom sanitizer
Schema sanitizer
self
Sets custom tester
Schema tester
self
Creates a custom object schema. You can set custom tester and sanitizer functions.
a new instance of CustomObjectSchema
Generated using TypeDoc
Custom sanitizer schema