• Finds the positions of element which equals to target in the list. If the list is infinite, this will hang forever.

    Type Parameters

    • T

    Parameters

    • equalityT: PartialEq<T, T>

      The equality for T.

    Returns ((target) => ((list) => number[]))

    The found positions.

      • (target): ((list) => number[])
      • Parameters

        • target: T

        Returns ((list) => number[])

          • (list): number[]
          • Parameters

            Returns number[]

Generated using TypeDoc