Remove references to _.

This commit is contained in:
John-David Dalton
2017-01-09 17:38:33 -08:00
parent 65654f8f9e
commit 77cc37ba49
410 changed files with 875 additions and 1157 deletions

View File

@@ -20,17 +20,16 @@ const nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
* Checks if `value` is a buffer.
*
* @static
* @memberOf _
* @since 4.3.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
* @example
*
* _.isBuffer(new Buffer(2));
* isBuffer(new Buffer(2));
* // => true
*
* _.isBuffer(new Uint8Array(2));
* isBuffer(new Uint8Array(2));
* // => false
*/
const isBuffer = nativeIsBuffer || stubFalse;