Crates.io | is_printable |
lib.rs | is_printable |
version | 0.0.11 |
source | src |
created_at | 2024-08-09 08:18:04.130063 |
updated_at | 2024-08-11 06:57:53.355234 |
description | Determine whether a given text-based value is printable. |
homepage | |
repository | https://github.com/amab8901/is_printable |
max_upload_size | |
id | 1330542 |
size | 17,694 |
Determines whether a given text-based value is printable.
Printable example:
let hello = "hello";
let is_printable = hello.is_printable();
assert_eq!(is_printable, true);
Unprintable example:
let bell = '\u{7}'
let is_printable = bell.is_printable();
assert_eq!(is_printable, false);