forEach

abstract fun forEach(callback: (variable: String, mutator: EnvironmentVariableMutator, collection: EnvironmentVariableCollection) -> Unit, thisArg: JsAny? = definedExternally)(source)

Iterate over each mutator in this collection.

Parameters

callback

Function to execute for each entry.

thisArg

The this context used when invoking the handler function.

Online Documentation