MCPcopy
hub / github.com/4ian/GDevelop / values

Method values

GDevelop.js/TestUtils/GDJSMocks.js:675–682  ·  view source on GitHub ↗

* @param {Array } result

(result)

Source from the content-addressed store, hash-verified

673 * @param {Array<T>} result
674 */
675 values(result) {
676 result.length = 0;
677 for (const k in this.items) {
678 if (this.items.hasOwnProperty(k)) {
679 result.push(this.items[k]);
680 }
681 }
682 }
683
684 clear() {
685 for (var k in this.items) {

Callers 3

getAllChildrenArrayMethod · 0.45
objectsListsToArrayFunction · 0.45
getPickedInstancesCountFunction · 0.45

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected