MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / IsByteLengthQueuingStrategy

Function IsByteLengthQueuingStrategy

out/cli.cjs:14235–14243  ·  view source on GitHub ↗
(x5)

Source from the content-addressed store, hash-verified

14233 return new TypeError(`ByteLengthQueuingStrategy.prototype.${name} can only be used on a ByteLengthQueuingStrategy`);
14234 }
14235 function IsByteLengthQueuingStrategy(x5) {
14236 if (!typeIsObject(x5)) {
14237 return false;
14238 }
14239 if (!Object.prototype.hasOwnProperty.call(x5, "_byteLengthQueuingStrategyHighWaterMark")) {
14240 return false;
14241 }
14242 return x5 instanceof ByteLengthQueuingStrategy2;
14243 }
14244 const countSizeFunction = () => {
14245 return 1;
14246 };

Callers 2

highWaterMarkMethod · 0.85
sizeMethod · 0.85

Calls 1

typeIsObjectFunction · 0.85

Tested by

no test coverage detected