@adamburgess/linq

    Function from

    • Start the sequence. Can be used with an array or any iterable.

      // Import me:
      import from from '@adamburgess/linq'
      // Arrays:
      from([1, 2, 3])
      // Objects that support the Iterable protocol:
      from(new Map())
      // Generators:
      from(function*() { yield 'generated values' })

      Type Parameters

      • T

      Parameters

      • it: Iterable<T>

      Returns Sequence<T>

    MMNEPVFCICPMFPCPTTAAATR