MCPcopy
hub / github.com/opensheetmusicdisplay/opensheetmusicdisplay / Array

Interface Array

src/Util/CollectionUtil.ts:4–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3declare global {
4 interface Array<T> {
5 /** Returns the last element from an array */
6 last(): T;
7 /** Deletes all elements from an array */
8 clear(): void;
9 /** Returns true if the element is found in the array */
10 contains(elem: T): boolean;
11 }
12}
13
14if (!Array.prototype.last) {

Callers 24

updateCurrentPageMethod · 0.65
setColoringModeMethod · 0.65
constructorMethod · 0.65
constructorMethod · 0.65
createGraphicalTiesFunction · 0.65
renderMethod · 0.65
clearMethod · 0.65
clearSkyBottomLineCacheFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected