Constructors
constructor
-
Parameters
Properties
errors
source
source: T
Methods
applyPredicate
- applyPredicate<P>(keyName: P, validator: function): this
-
Type parameters
Parameters
-
keyName: P
-
validator: function
-
- (instance: T[P]): true | string | string[]
-
Parameters
Returns true
|
string
|
string[]
Returns this
isBoolean
- isBoolean<P>(keyName: P): this
-
Type parameters
Parameters
Returns this
isNumber
- isNumber<P>(keyName: P): this
-
Type parameters
Parameters
Returns this
nonEmpty
- nonEmpty<P>(keyName: P): this
-
Type parameters
Parameters
Returns this