@woosh/meep-engine 2.117.1 → 2.117.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/package.json
CHANGED
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Picks element with highest score from the array using supplied scoring function.
|
|
3
|
+
* If multiple elements with the same highest score exist, the result will be first such encountered element
|
|
4
|
+
* @template T
|
|
5
|
+
* @param {T[]} array
|
|
6
|
+
* @param {function(el:T, index:number):number} scoreFunction
|
|
7
|
+
* @returns {T|undefined}
|
|
8
|
+
*/
|
|
9
|
+
export function array_pick_best_element<T>(array: T[], scoreFunction: any): T;
|
|
10
|
+
//# sourceMappingURL=array_pick_best_element.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"object_deep_clone.d.ts","sourceRoot":"","sources":["../../../../../src/core/model/object/object_deep_clone.js"],"names":[],"mappings":"AAmBA
|
|
1
|
+
{"version":3,"file":"object_deep_clone.d.ts","sourceRoot":"","sources":["../../../../../src/core/model/object/object_deep_clone.js"],"names":[],"mappings":"AAmBA;;;;;GAKG;AACH,mDAqBC"}
|
|
@@ -18,7 +18,7 @@ function structural_clone(source) {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* Will invoke any "clone" methods and inherit prototypes where possible
|
|
21
|
+
* Will invoke any "clone" methods and inherit prototypes where possible creating as close to identical copy as possible
|
|
22
22
|
* @template T
|
|
23
23
|
* @param {T} source
|
|
24
24
|
* @returns {T}
|