iter-fns - v0.13.0
    Preparing search index...

    Function nth

    • Gets the nth item of an iterable.

      This will always iterate forward through the iterable, even if the iterable is ReverseIterable.

      Type Parameters

      • T

        type of the item

      Parameters

      • iterable: Iterable<T>

        the iterable

      • i: number

        the index

      Returns undefined | T