First upload version 0.0.1
This commit is contained in:
11
node_modules/node-llama-cpp/dist/utils/pushAll.js
generated
vendored
Normal file
11
node_modules/node-llama-cpp/dist/utils/pushAll.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Pushes all items from the given array or set to the given array.
|
||||
* @param array - The array to push the items to
|
||||
* @param items - The items to push to the array
|
||||
*/
|
||||
export function pushAll(array, items) {
|
||||
for (const item of items)
|
||||
array.push(item);
|
||||
return array;
|
||||
}
|
||||
//# sourceMappingURL=pushAll.js.map
|
||||
Reference in New Issue
Block a user