@woosh/meep-engine 2.99.1 → 2.99.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/meep.cjs
CHANGED
|
@@ -61692,6 +61692,17 @@ class List {
|
|
|
61692
61692
|
return new List(this.data);
|
|
61693
61693
|
}
|
|
61694
61694
|
|
|
61695
|
+
/**
|
|
61696
|
+
* Returns a shallow copy array with elements in range from start to end (end not included)
|
|
61697
|
+
* Same as {@link Array.prototype.slice}
|
|
61698
|
+
* @param {number} [start]
|
|
61699
|
+
* @param {number} [end]
|
|
61700
|
+
* @return {T[]}
|
|
61701
|
+
*/
|
|
61702
|
+
slice(start, end) {
|
|
61703
|
+
return this.data.slice(start, end);
|
|
61704
|
+
}
|
|
61705
|
+
|
|
61695
61706
|
/**
|
|
61696
61707
|
*
|
|
61697
61708
|
* @param {function(element:T):boolean} condition
|