_.isBuffer(value)
Checks if value
is a buffer.
Since
4.3.0
Arguments
-
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
Please login to continue.