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

    Type Parameters

    • T

    Parameters

    • equalityT: PartialEq<T, T>

      The equality for T.

    Returns ((target) => ((list) => Option<number>))

    The found position if exists.

      • (target): ((list) => Option<number>)
      • Parameters

        • target: T

        Returns ((list) => Option<number>)

Generated using TypeDoc