Skip to content

format

typescript
Dictionary.forEach(callback)

class: Dictionary

description

Iterate through a dictionary

parameter

param_nametypedescription
callbackCallback

reture

typedescription
void

code example

typescript
let dictionary = new Dictionary<Number, Number>(Number);
let foreachCallback = (k: Number,  v: Number):void => {
            -- to do
        }
dictionary.forEach(foreachCallback);