@szilanor/stream
    Preparing search index...

    Function isEmpty

    • Returns a collector that determines if the source is empty.

      Type Parameters

      • T

        Type of items in the source.

      Returns CollectorFunction<T, boolean>

      Collector that determines if the source is empty.

      const result = isEmpty<number>()([1, 2, 3]);
      console.log(result); // false