function isAscii
Usage
import { isAscii } from "node:buffer";
This function returns true if input contains only valid ASCII-encoded data,
including the case in which input is empty.
Throws if the input is a detached array buffer.
import { isAscii } from "node:buffer";
This function returns true if input contains only valid ASCII-encoded data,
including the case in which input is empty.
Throws if the input is a detached array buffer.