forEach

abstract fun forEach(callback: (item: TestItem, collection: TestItemCollection) -> Unit, thisArg: JsAny? = definedExternally)(source)

Iterate over each entry in this collection.

Parameters

callback

Function to execute for each entry.

thisArg

The this context used when invoking the handler function.

Online Documentation