MCPcopy Index your code
hub / github.com/nodejs/node / extractSizeAlgorithm

Function extractSizeAlgorithm

lib/internal/webstreams/util.js:78–82  ·  view source on GitHub ↗
(size)

Source from the content-addressed store, hash-verified

76const defaultSizeAlgorithm = () => 1;
77
78function extractSizeAlgorithm(size) {
79 if (size === undefined) return defaultSizeAlgorithm;
80 validateFunction(size, 'strategy.size');
81 return size;
82}
83
84function customInspect(depth, options, name, data) {
85 if (depth < 0)

Callers 3

constructorMethod · 0.85
constructorMethod · 0.85
constructorMethod · 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…