'use strict';

var isBuffer = require('../../_virtual/isBuffer.js');
var _root = require('./_root.js');
var stubFalse = require('./stubFalse.js');

isBuffer.__module.exports;

(function (module, exports) {
	var root = _root._root,
	    stubFalse$1 = stubFalse.stubFalse_1;

	/** Detect free variable `exports`. */
	var freeExports = exports && !exports.nodeType && exports;

	/** Detect free variable `module`. */
	var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;

	/** Detect the popular CommonJS extension `module.exports`. */
	var moduleExports = freeModule && freeModule.exports === freeExports;

	/** Built-in value references. */
	var Buffer = moduleExports ? root.Buffer : undefined;

	/* Built-in method references for those with the same name as other `lodash` methods. */
	var 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));
	 * // => true
	 *
	 * _.isBuffer(new Uint8Array(2));
	 * // => false
	 */
	var isBuffer = nativeIsBuffer || stubFalse$1;

	module.exports = isBuffer; 
} (isBuffer.__module, isBuffer.__module.exports));

var isBufferExports = isBuffer.__module.exports;

exports.isBufferExports = isBufferExports;
//# sourceMappingURL=isBuffer.js.map
