Skip to main content
browser.VRecord Not exported: an exported type refers to it.

Type parameters

Hierarchy

  • BaseValidator<Type, IsOptional, FieldPaths> ↳ VRecord

Constructors

constructor

• new VRecord<Type, Key, Value, IsOptional, FieldPaths>(«destructured»)

Type parameters

Parameters

Overrides

BaseValidator&lt;Type, IsOptional, FieldPaths&gt;.constructor

Properties

type

• Readonly type: Type

Inherited from

BaseValidator.type

fieldPaths

• Readonly fieldPaths: FieldPaths

Inherited from

BaseValidator.fieldPaths

isOptional

• Readonly isOptional: IsOptional

Inherited from

BaseValidator.isOptional

isConvexValidator

• Readonly isConvexValidator: true

Inherited from

BaseValidator.isConvexValidator

key

• Readonly key: Key

value

• Readonly value: Value

kind

• Readonly kind: "record"

Accessors

json

• get json(): ValidatorJSON

Returns

ValidatorJSON

Overrides

BaseValidator.json

Methods

optional

▸ optional(): VRecord<undefined | Type, Key, Value, "optional", FieldPaths>

Returns

VRecord<undefined | Type, Key, Value, "optional", FieldPaths>

Overrides

BaseValidator.optional

asOptional

▸ asOptional(): VRecord<undefined | Type, Key, Value, "optional", FieldPaths>

Returns

VRecord<undefined | Type, Key, Value, "optional", FieldPaths>

Overrides

BaseValidator.asOptional