mirror of
https://github.com/taixingyiji/openit.git
synced 2025-11-03 08:42:20 +00:00
Delete utils/rm directory
This commit is contained in:
14
utils/rm/node_modules/lodash/_castArrayLikeObject.js
generated
vendored
14
utils/rm/node_modules/lodash/_castArrayLikeObject.js
generated
vendored
@@ -1,14 +0,0 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user