We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import { isBuffer } from 'lodash-es';
console.log(isBuffer(Buffer.from("Hello"))); Output : false (should be true)
console.log(Buffer.isBuffer(Buffer.from("Hello"))); Output : true
Can someone please take a look on this ?
The text was updated successfully, but these errors were encountered:
It seems that lodash uses native isBuffer and if not found a predicate which always returns false.
isBuffer
lodash/src/isBuffer.ts
Line 21 in c7c70a7
Line 4 in c7c70a7
Sorry, something went wrong.
No branches or pull requests
import { isBuffer } from 'lodash-es';
console.log(isBuffer(Buffer.from("Hello")));
Output : false (should be true)
console.log(Buffer.isBuffer(Buffer.from("Hello")));
Output : true
Can someone please take a look on this ?
The text was updated successfully, but these errors were encountered: