it
    Preparing search index...

    Function default

    • Collects all values from an (async) iterable and returns them as an array

      Type Parameters

      • T

      Parameters

      Returns T[]

    • Collects all values from an (async) iterable and returns them as an array

      Type Parameters

      • T

      Parameters

      • source: Iterable<T, any, any> | AsyncIterable<T, any, any>

      Returns Promise<T[]>