MCPcopy Create free account
hub / github.com/TruthHun/BookStack / isBuffer

Function isBuffer

static/word2md/mammoth.browser.js:12022–12024  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

12020}
12021
12022function isBuffer (obj) {
12023 return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
12024}
12025
12026// For Node v0.10 support. Remove this eventually.
12027function isSlowBuffer (obj) {

Callers 2

mammoth.browser.jsFile · 0.70
isSlowBufferFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected