forEach Method

Apply a function to each (key, value) pair in the dictionary, in sorted order.

forEach(func: (key: K, value: V) => void): void

Parameter Type Description
func (key: K, value: V) => void The function to be applied.

Defined in

Last Updated: 08 January, 2020