• Returns the last item of an (async) iterable, unless empty, in which case return undefined

    Type Parameters

    • T

    Parameters

    Returns T | undefined

  • Type Parameters

    • T

    Parameters

    Returns Promise<T | undefined>