Gets the index of a given object in a collection.
Namespace: MindFusion.Charting.Collections
Package: Collections.js
JavaScript Copy Code |
---|
function indexOfItem (obj, [fromIndex]) |
The object to look for.
The starting index to search from.
The index of the object, or -1 if the object is not present in the collection.