Interface SchemaValidateFunction
Callable
- __call(schema: any, data: any, parentSchema?: undefined | object, dataPath?: undefined | string, parentData?: object | Array<any>, parentDataProperty?: string | number, rootData?: object | Array<any>): boolean | PromiseLike<any>
-
Parameters
-
schema: any
-
data: any
-
Optional parentSchema: undefined | object
-
Optional dataPath: undefined | string
-
Optional parentData: object | Array<any>
-
Optional parentDataProperty: string | number
-
Optional rootData: object | Array<any>
Returns boolean | PromiseLike<any>
Properties
Optional errors