Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ValidateFunction

Hierarchy

  • ValidateFunction

Callable

  • __call(data: any, dataPath?: undefined | string, parentData?: object | Array<any>, parentDataProperty?: string | number, rootData?: object | Array<any>): boolean | PromiseLike<any>
  • Parameters

    • data: any
    • Optional dataPath: undefined | string
    • Optional parentData: object | Array<any>
    • Optional parentDataProperty: string | number
    • Optional rootData: object | Array<any>

    Returns boolean | PromiseLike<any>

Index

Properties

Optional $async

$async: undefined | true

Optional errors

errors: null | Array<ErrorObject>

Optional refVal

refVal: Array<any>

Optional refs

refs: undefined | object

Optional root

root: ValidateFunction | object

Optional schema

schema: object | boolean

Optional source

source: undefined | object