forEach 
  abstract fun forEach(callback: (uri: Uri, ReadonlyArray<Diagnostic>, collection: DiagnosticCollection) -> 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.