• Iterate through a map and execute the callback for every element

    Type Parameters

    • TKey
    • TVal

    Parameters

    • map: ReadonlyMap<TKey, TVal>
    • callback: ((val: TVal, key: TKey) => void)
        • (val, key): void
        • Parameters

          Returns void

    Returns void