@szilanor/stream
    Preparing search index...

    Function values

    • Returns a Stream that yields the values of the specified object.

      Type Parameters

      • T extends object

        Type of items in the Stream.

      Parameters

      • entry: T

        Object to create the Stream from.

      Returns Stream<T[keyof T]>

      Stream that yields the values of the specified object.

      const result = values({ a: 1, b: 2 });
      console.log([...result]); // [1, 2]