-
Notifications
You must be signed in to change notification settings - Fork 0
assert.Function.isBuffer
soetas edited this page Nov 30, 2024
·
2 revisions
estdlib v0.1.2 / assert / isBuffer
isBuffer(
value
):void
Checks if value is a buffer
• value: unknown
The value to check
void
- Returns true if value is a buffer, else false
0.1.2
isBuffer(Buffer.from('abc'))
// => true
isBuffer(new Uint8Array(2))
// => false
Docs made with by typedoc、typedoc-plugin-markdown & typedoc-github-wiki-theme.