• Processes each entry in the map

    Type Parameters

    • K
    • V

    Parameters

    • Optionalmap: Map<K, V>

      the map to inspect

    • Optionalcallback: ((value: V, key: K) => void)

      a callback function that processes each entry

        • (value, key): void
        • Parameters

          • value: V
          • key: K

          Returns void

    Returns void