Options
Menu

Return true only for these conditions if "Exclusive" is false, then the instance is valid if it is greater than, or equal to, the value of "minimum"; if "Exclusive" is true, the instance is valid if it is strictly greater than the value of "minimum".

@require underscore

Index

Constructor methods

Properties

Methods

Constructor methods

constructor

  • constructor(Min?: number, Exclusive?: boolean): MinValidator
  • Default constructor.

    Parameters

    • Min?: number optional
      • the value of "minimum"
    • Exclusive?: boolean optional
      • true = strictly greater, otherwise greater or equal to the value of "minimum";

    Returns MinValidator

Properties

Exclusive

Exclusive: boolean

Min

Min: number

tagName

tagName: string

Methods

isAcceptable

  • isAcceptable(s: any): boolean
  • Parameters

    • s: any

    Returns boolean

Generated using TypeDoc