format
typescript
Dictionary.forEach(callback)class: Dictionary
description
Iterate through a dictionary
parameter
| param_name | type | description |
|---|---|---|
| callback | Callback |
reture
| type | description |
|---|---|
void |
code example
typescript
let dictionary = new Dictionary<Number, Number>(Number);
let foreachCallback = (k: Number, v: Number):void => {
-- to do
}
dictionary.forEach(foreachCallback);