Bump to v4.4.0.

This commit is contained in:
John-David Dalton
2016-02-15 20:25:07 -08:00
parent 8bff780a94
commit 94ba2e24e8
110 changed files with 450 additions and 263 deletions

View File

@@ -0,0 +1,14 @@
import isArrayLikeObject from './isArrayLikeObject';
/**
* Casts `value` to an empty array if it's not an array like object.
*
* @private
* @param {*} value The value to inspect.
* @returns {Array} Returns the array-like object.
*/
function baseCastArrayLikeObject(value) {
return isArrayLikeObject(value) ? value : [];
}
export default baseCastArrayLikeObject;