Function entryStream

  • Creates a Stream of [key, value] pairs from the given object. Keys are retrieved with Object.keys(), which means prototype members are not included.

    Type Parameters

    • O extends { [k: string]: any }

      Input object type

    Parameters

    • object: O

      Object to create [key, value]-pairs stream from.

    Returns Stream<readonly [keyof O, O[keyof O]]>

    A stream of [key, value] pairs from the provided object.