Add node_modules until bundler is added

This commit is contained in:
Joel Male
2020-08-26 09:57:08 +10:00
parent 600d4f061c
commit e4e62ab7e8
5789 changed files with 1707160 additions and 10 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;