How to use the isBuffer function from underscore

Find comprehensive JavaScript underscore.isBuffer code examples handpicked from public code repositorys.

3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
* @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
fork icon0
star icon0
watch icon0

+ 7 other calls in file