(input)
| 1410 | } |
| 1411 | |
| 1412 | function isUtf8(input) { |
| 1413 | if (isTypedArray(input) || isAnyArrayBuffer(input)) { |
| 1414 | return bindingIsUtf8(input); |
| 1415 | } |
| 1416 | |
| 1417 | throw new ERR_INVALID_ARG_TYPE('input', ['ArrayBuffer', 'Buffer', 'TypedArray'], input); |
| 1418 | } |
| 1419 | |
| 1420 | function isAscii(input) { |
| 1421 | if (isTypedArray(input) || isAnyArrayBuffer(input)) { |
no test coverage detected
searching dependent graphs…