MindFusion.Diagramming for JavaScript Programmer's Guide
Set.forEach Method
See Also
 





Calls a defined callback function for each entry in the set.

Namespace: MindFusion.Collections
File: Set.js

 Syntax

JavaScript  Copy Code

function forEach (func, [thisRef])

 Parameters

func
A function that accepts two arguments. forEach calls this function one time for each element in the set.
thisRef
Optional. A value passed as the first parameter of func.

 See Also

Set Members
Set Class
MindFusion.Collections Namespace