Options
Menu

Return true if an value is any of predefined values (using strict equality), otherwise false.

@require underscore

Index

Constructor methods

Properties

Methods

Constructor methods

constructor

  • Default constructor.

    Parameters

    • Enum?: Array<number> optional
      • array of values

    Returns EnumValidator

Properties

Enum

Enum: Array<number>

tagName

tagName: string

Methods

isAcceptable

  • isAcceptable(s: any): boolean
  • Parameters

    • s: any

    Returns boolean

Generated using TypeDoc