ixfx
    Preparing search index...

    Function last

    Returns the last item of an iterable, or undefined if it yields no results.

    • Type Parameters

      • V

      Parameters

      • it: AsyncIterable<V>

      Returns Promise<undefined | V>

    • Type Parameters

      • V

      Parameters

      • it: Iterable<V>

      Returns V