Lodash _.isBuffer() Method
The Lodash _.isBuffer() Method Checks if the given value is Buffer or not.
_.isBuffer( value )
Parameters: This method accepts a single parameter as mentioned above and described below:
- value: This parameter holds the value that needs to be Checked for Buffer.
Return Value: This method returns a Boolean value( Returns true if the given value is a Buffer, else false).
Example 1: This method returns true when the value is a Buffer.
The Value is Buffer : true
The Value is Buffer : false