Evergage Core API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • Validator

Index

Constructors

constructor

  • Parameters

    • source: T

    Returns Validator

Properties

errors

source

source: T

Methods

applyPredicate

  • applyPredicate<P>(keyName: P, validator: function): this
  • Type parameters

    • P: keyof T

    Parameters

    • keyName: P
    • validator: function
        • (instance: T[P]): true | string | string[]
        • Parameters

          • instance: T[P]

          Returns true | string | string[]

    Returns this

isBoolean

  • isBoolean<P>(keyName: P): this
  • Type parameters

    • P: keyof T

    Parameters

    • keyName: P

    Returns this

isNumber

  • isNumber<P>(keyName: P): this
  • Type parameters

    • P: keyof T

    Parameters

    • keyName: P

    Returns this

nonEmpty

  • nonEmpty<P>(keyName: P): this
  • Type parameters

    • P: keyof T

    Parameters

    • keyName: P

    Returns this

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc