Skip to content

amab8901/is_printable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is_printable

Determines whether a given text-based value is printable

Printable example

    use is_printable::IsPrintable;

    let hello = "hello";
    let is_printable = hello.is_printable();

    assert_eq!(is_printable, true);

Unprintable example

    use is_printable::IsPrintable;

    let bell = '\u{7}'
    let is_printable = bell.is_printable();

    assert_eq!(is_printable, false);

About

Determines whether a given character is printable

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages