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