Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ValidationResult

Hierarchy

  • ValidationResult

Implements

Index

Constructors

constructor

Properties

conforms

conforms: boolean

errors

isFinished

isFinished: boolean

pathToValue

pathToValue: string[]

rootValue

rootValue: any

value

value: any

Methods

assert

clone

markAsErrored

pathAsString

  • pathAsString(): string | undefined

setConforms

setErrors

setIsFinished

setValue

toJSON

Static coalesce

Static fromResult

Static fromValue

  • fromValue(value: any, rootValue: any, pathToValue: string[]): ValidationResult

Static is

  • is(value: any): boolean

Static isLike

  • isLike(value: any): boolean

Generated using TypeDoc