Bump to v4.9.0.

This commit is contained in:
John-David Dalton
2016-04-07 21:38:09 -07:00
parent e8cff1ef54
commit b7e3b3febd
49 changed files with 141 additions and 82 deletions

16
_isFlattenable.js Normal file
View File

@@ -0,0 +1,16 @@
import isArguments from './isArguments';
import isArray from './isArray';
import isArrayLikeObject from './isArrayLikeObject';
/**
* Checks if `value` is a flattenable `arguments` object or array.
*
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
*/
function isFlattenable(value) {
return isArrayLikeObject(value) && (isArray(value) || isArguments(value));
}
export default isFlattenable;