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

Function isAscii

lib/buffer.js:1420–1426  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

1418}
1419
1420function isAscii(input) {
1421 if (isTypedArray(input) || isAnyArrayBuffer(input)) {
1422 return bindingIsAscii(input);
1423 }
1424
1425 throw new ERR_INVALID_ARG_TYPE('input', ['ArrayBuffer', 'Buffer', 'TypedArray'], input);
1426}
1427
1428module.exports = {
1429 Buffer,

Callers 2

decoderFunction · 0.85

Calls 1

isTypedArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…