Function hasValue

  • Examine if array has a value.

    Type Parameters

    • T

    • U = T

    Parameters

    • x: T[]

      an array

    • v: T

      search value

    • fc: CompareFunction<T | U> = null

      compare function (a, b)

    • fm: MapFunction<T, T | U> = null

      map function (v, i, x)

    Returns boolean

    v ∈ x?

Generated using TypeDoc