Revert "remove node_modules"

This reverts commit 2fb5731f23.
This commit is contained in:
Tatiana
2021-05-08 11:15:45 -07:00
parent 2fb5731f23
commit 2537c2e6e2
1762 changed files with 147353 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
var isArrayLikeObject = require('./isArrayLikeObject');
/**
* Casts `value` to an empty array if it's not an array like object.
*
* @private
* @param {*} value The value to inspect.
* @returns {Array|Object} Returns the cast array-like object.
*/
function castArrayLikeObject(value) {
return isArrayLikeObject(value) ? value : [];
}
module.exports = castArrayLikeObject;