MCPcopy Create free account
hub / github.com/openai/openai-node / push_to_array

Function push_to_array

src/internal/qs/stringify.ts:19–21  ·  view source on GitHub ↗
(arr: any[], value_or_array: any)

Source from the content-addressed store, hash-verified

17};
18
19const push_to_array = function (arr: any[], value_or_array: any) {
20 Array.prototype.push.apply(arr, isArray(value_or_array) ? value_or_array : [value_or_array]);
21};
22
23let toISOString;
24

Callers 2

inner_stringifyFunction · 0.85
stringifyFunction · 0.85

Calls 1

isArrayFunction · 0.90

Tested by

no test coverage detected