- returns: <boolean> Defaults to
true
.
- returns: <Errors>
- returns: <ValidatorError>
- returns: <ValidationError>
object
<Object>path
<string | Array<string>> Must have format:'object.property.key.path[0]'
. Ifundefined
,null
,''
or[]
will not be validated.- returns: <boolean>
object
<Object>path
<string | Array<string>> Must have format:'object.property.key.path[0]'
. Ifundefined
,null
,''
or[]
will not be validated.- returns: <boolean>
value
<any> Ifundefined
ornull
will be returnfalse
.path
<string | Array<string>> Must have format:'object.property.key.path[0]'
. Ifundefined
,null
,''
or[]
will not be validated.- returns: <boolean>
- returns: <boolean> Defaults to
true
.
- returns: <any> Defaults to
undefined
.
Equivalent to <validator.valid>
- returns: <boolean>
callback
<Function(any, ...<any>>)>...args
<...any> The arguments will be passed to the callback function.- returns: <this>
path
<string | Array<string>> Must have format:'object.property.key.path[0]'
. Ifundefined
,null
,''
or[]
will not be validated.- returns: <this>
path
<string | Array<string>> Must have format:'object.property.key.path[0]'
. Ifundefined
,null
,''
or[]
will not be validated.- returns: <this>
- returns: <this>
path
<string | Array<string>> Must have format:'object.property.key.path[0]'
. Ifundefined
,null
,''
or[]
will not be used.- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <this>
- returns: <string>
- returns: <boolean>
- returns: <boolean>
- returns: <Validator>
- returns: <ValidatorError>
- returns: <ValidationError>
- extends: <CustomError>
- returns: <string> Defaults to
'ValidatorError'
.
- extends: <ValidatorError>
- returns: <string> Defaults to
'ValidationError'
.
- returns: <string> Defaults to
'invalid-value'
.