Options
Menu

Return true if string length is between MinLength and MaxLength property.

Index

Constructor methods

Properties

Get accessors

Methods

Constructor methods

constructor

  • Default constructor.

    Parameters

    • RangeLength?: Array<number> optional
      • array [minimal number of characters, maximal number of characters]

    Returns RangeLengthValidator

Properties

RangeLength

RangeLength: Array<number>

tagName

tagName: string

Get accessors

MaxLength

  • MaxLength(): number
  • Returns number

MinLength

  • MinLength(): number
  • Returns number

Methods

isAcceptable

  • isAcceptable(s: string): boolean
  • Parameters

    • s: string

    Returns boolean

Generated using TypeDoc