iter-fns - v0.13.0
    Preparing search index...

    Function objectEntries

    • Iterates lazily over the keys and values of an object.

      Note that if the underlying object is mutated during iteration, the output of the iterable is undefined.

      Type Parameters

      • T

      Parameters

      • obj: { [s: string]: T } | ArrayLike<T>

        the object

      Returns Iterable<[string, T]>

    • Iterates lazily over the keys and values of an object.

      Note that if the underlying object is mutated during iteration, the output of the iterable is undefined.

      Parameters

      • obj: object

        the object

      Returns Iterable<[string, unknown]>