Members
-
ElementReader
-
Copyright (C) 2013-2014 Regents of the University of California.
- Source:
-
ElementReader
-
Copyright (C) 2013-2014 Regents of the University of California.
- Source:
Methods
-
compareArrays(searchElement) → {Number}
-
Modified from https://gist.github.com/Wolfy87/5734530 Performs a binary search on the host array. This method can either be injected into Array.prototype or called with a specified scope like this: binaryIndexOf.call(someArray, searchElement);
Parameters:
Name Type Description searchElement
* The item to search for within the array. - Source:
Returns:
The index of the element which defaults to -1 when not found.- Type
- Number