MCPcopy Create free account
hub / github.com/nodejs/node / isShareable

Function isShareable

lib/internal/streams/iter/share.js:702–704  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

700}
701
702function isShareable(value) {
703 return hasProtocol(value, shareProtocol);
704}
705
706function isSyncShareable(value) {
707 return hasProtocol(value, shareSyncProtocol);

Callers 1

fromFunction · 0.85

Calls 1

hasProtocolFunction · 0.85

Tested by

no test coverage detected