Function searchInfixAll

  • Find indices of an infix.

    Type Parameters

    • T

    • U = T

    Parameters

    • x: Iterable<T>

      an iterable

    • y: Iterable<T>

      search infix

    • fc: CompareFunction<T | U> = null

      compare function (a, b)

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

      map function (v, i, x)

    Returns IterableIterator<number>

    i₀, i₁, ... | x[j..j+|y|] = y; j ∈ [i₀, i₁, ...]

Generated using TypeDoc