MCPcopy Create free account
hub / github.com/angular/dev-infra / isBuffer

Function isBuffer

github-actions/browserstack/set-browserstack-env.js:1420–1422  ·  view source on GitHub ↗
(buffer)

Source from the content-addressed store, hash-verified

1418 return ret;
1419 }
1420 function isBuffer(buffer) {
1421 return buffer instanceof Uint8Array || Buffer.isBuffer(buffer);
1422 }
1423 function validateHandler(handler, method, upgrade) {
1424 if (!handler || typeof handler !== "object") {
1425 throw new InvalidArgumentError("handler must be an object");

Callers 2

bodyLengthFunction · 0.70
constructorMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected