tsbase
Preparing search index...
Validator
Class Validator<T>
Type Parameters
T
Index
Constructors
constructor
Properties
Validations
Methods
Validate
Constructors
constructor
new
Validator
<
T
>
(
validations
?:
IValidation
<
T
>
[]
)
:
Validator
<
T
>
Type Parameters
T
Parameters
validations
:
IValidation
<
T
>
[]
= []
Returns
Validator
<
T
>
Properties
Validations
Validations
:
IValidation
<
T
>
[]
The set of validations the Validator calls when constructing its overall validation result.
Methods
Validate
Validate
(
object
:
T
)
:
Result
<
null
>
Parameters
object
:
T
Returns
Result
<
null
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
Validations
Methods
Validate
tsbase
Loading...
The set of validations the Validator calls when constructing its overall validation result.