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

Type parameters

Hierarchy

  • BaseValidator<Type, IsOptional, FieldPaths> ↳ VUnion

Constructors

constructor

• new VUnion<Type, T, 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

members

• Readonly members: T

kind

• Readonly kind: "union"

Accessors

json

• get json(): ValidatorJSON

Returns

ValidatorJSON

Overrides

BaseValidator.json

Methods

optional

▸ optional(): VUnion<undefined | Type, T, "optional", FieldPaths>

Returns

VUnion<undefined | Type, T, "optional", FieldPaths>

Overrides

BaseValidator.optional

asOptional

▸ asOptional(): VUnion<undefined | Type, T, "optional", FieldPaths>

Returns

VUnion<undefined | Type, T, "optional", FieldPaths>

Overrides

BaseValidator.asOptional