Options
Menu

Return true if an value is any of predefined values (using strict equality), otherwise false. Predefined values are fetched async with options service.

require

underscore

require

Q

Index

Constructor methods

Properties

Methods

Constructor methods

constructor

  • Default constructor.

    Parameters

    • Options: Q.Promise<any[]>
      • async service that returns array of values.

    Returns ContainsValidator

Properties

Options

Options: Q.Promise<any[]>

isAsync

isAsync: boolean

tagName

tagName: string

Methods

isAcceptable

  • isAcceptable(s: string): Q.Promise<boolean>
  • Parameters

    • s: string

    Returns Q.Promise<boolean>

Generated using TypeDoc