Type parameters
Hierarchy
-
BaseValidator<Type,IsOptional,FieldPaths> ↳VRecord
Constructors
constructor
• new VRecord<Type, Key, Value, IsOptional, FieldPaths>(«destructured»)
Type parameters
Parameters
Overrides
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.isConvexValidatorkey
•Readonly key: Key
value
•Readonly value: Value
kind
•Readonly kind: "record"
Accessors
json
•get json(): ValidatorJSON
Returns
ValidatorJSON
Overrides
BaseValidator.jsonMethods
optional
▸ optional():VRecord<undefined | Type, Key, Value, "optional", FieldPaths>
Returns
VRecord<undefined | Type, Key, Value, "optional", FieldPaths>
Overrides
BaseValidator.optionalasOptional
▸ asOptional():VRecord<undefined | Type, Key, Value, "optional", FieldPaths>
Returns
VRecord<undefined | Type, Key, Value, "optional", FieldPaths>