Function hasInfix

  • Examine if array contains an infix.

    Type Parameters

    • T

    • U = T

    Parameters

    • x: T[]

      an array

    • y: T[]

      search infix

    • fc: CompareFunction<T | U> = null

      compare function (a, b)

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

      map function (v, i, x)

    Returns boolean

    x[i..I] = y for some i, I?

Generated using TypeDoc