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

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>.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

kind

• Readonly kind: "any"

Accessors

json

• get json(): ValidatorJSON

Returns

ValidatorJSON

Overrides

BaseValidator.json

Methods

optional

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

Returns

VAny<undefined | Type, "optional", FieldPaths>

Overrides

BaseValidator.optional

asOptional

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

Returns

VAny<undefined | Type, "optional", FieldPaths>

Overrides

BaseValidator.asOptional