MCPcopy Create free account
hub / github.com/ccxt/ccxt / pushToArray

Function pushToArray

ts/src/static_dependencies/qs/stringify.js:20–22  ·  view source on GitHub ↗
(arr, valueOrArray)

Source from the content-addressed store, hash-verified

18var isArray = Array.isArray;
19var push = Array.prototype.push;
20var pushToArray = function (arr, valueOrArray) {
21 push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
22};
23
24var toISO = Date.prototype.toISOString;
25

Callers 2

stringifyFunction · 0.70
stringify.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…