Function has

  • return boolean for value is present in array

    Parameters

    • arr: (string | number)[]
    • xp: ((item, index) => boolean)
        • (item, index): boolean
        • Parameters

          • item: string | number
          • index: number

          Returns boolean

    Returns boolean

Generated using TypeDoc