Type parameters
Hierarchy
-
BaseValidator<Type,IsOptional,FieldPaths> ↳VAny
Constructors
constructor
• new VAny<Type, IsOptional, FieldPaths>(«destructured»)
Type parameters
Parameters
Inherited from
BaseValidator<Type, IsOptional, FieldPaths>.constructorProperties
type
•Readonly type: Type
Inherited from
BaseValidator.typefieldPaths
•Readonly fieldPaths: FieldPaths
Inherited from
BaseValidator.fieldPathsisOptional
•Readonly isOptional: IsOptional
Inherited from
BaseValidator.isOptionalisConvexValidator
•Readonly isConvexValidator: true
Inherited from
BaseValidator.isConvexValidatorkind
•Readonly kind: "any"
Accessors
json
•get json(): ValidatorJSON
Returns
ValidatorJSON
Overrides
BaseValidator.jsonMethods
optional
▸ optional():VAny<undefined | Type, "optional", FieldPaths>
Returns
VAny<undefined | Type, "optional", FieldPaths>
Overrides
BaseValidator.optionalasOptional
▸ asOptional():VAny<undefined | Type, "optional", FieldPaths>
Returns
VAny<undefined | Type, "optional", FieldPaths>