MCPcopy Create free account
hub / github.com/browserify/static-module / isStream

Function isStream

index.js:393–395  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

391}
392
393function isStream (s) {
394 return s && typeof s === 'object' && typeof s.pipe === 'function';
395}
396
397function wrapStream (s) {
398 if (typeof s.read === 'function') return s

Callers 1

traverseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…