@thi.ng/checks
Version:
Collection of 70+ type, feature & value checks
13 lines • 341 B
TypeScript
/**
* Returns true iff all chars are in ASCII range `[0x00,0x7f]`
*
* @param x -
*/
export declare const isASCII: (x: string) => boolean;
/**
* Returns true iff all chars are in printable ASCII range `[0x20,0x7e]`
*
* @param x -
*/
export declare const isPrintableASCII: (x: string) => boolean;
//# sourceMappingURL=is-ascii.d.ts.map