Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Validator

Hierarchy

  • OrigValidator
  • Extensions
    • Validator

Index

Methods

  • contains(str: string, elem: string[]): boolean
  • Parameters

    • str: string
    • elem: string[]

    Returns boolean

  • is(str: string, pattern: string, modifiers: string): boolean
  • Parameters

    • str: string
    • pattern: string
    • modifiers: string

    Returns boolean

  • isIPv4(str: string): boolean
  • Parameters

    • str: string

    Returns boolean

  • isIPv6(str: string): boolean
  • Parameters

    • str: string

    Returns boolean

  • isUrl(str: string): boolean
  • Parameters

    • str: string

    Returns boolean

  • len(str: string, min: number, max: number): boolean
  • Parameters

    • str: string
    • min: number
    • max: number

    Returns boolean

  • max(str: string, val: number): boolean
  • Parameters

    • str: string
    • val: number

    Returns boolean

  • min(str: string, val: number): boolean
  • Parameters

    • str: string
    • val: number

    Returns boolean

  • not(str: string, pattern: string, modifiers: string): boolean
  • Parameters

    • str: string
    • pattern: string
    • modifiers: string

    Returns boolean

  • notContains(str: string, elem: string[]): boolean
  • Parameters

    • str: string
    • elem: string[]

    Returns boolean

  • notEmpty(str: string): boolean
  • Parameters

    • str: string

    Returns boolean

  • notIn(str: string, values: string[]): boolean
  • Parameters

    • str: string
    • values: string[]

    Returns boolean

  • notRegex(str: string, pattern: string, modifiers: string): boolean
  • Parameters

    • str: string
    • pattern: string
    • modifiers: string

    Returns boolean

  • regex(str: string, pattern: string, modifiers: string): boolean
  • Parameters

    • str: string
    • pattern: string
    • modifiers: string

    Returns boolean

Generated using TypeDoc