Function zalgo::is_zalgo[][src]

pub fn is_zalgo(ch: char) -> bool

Determines whether a given char is a Zalgo char. This is checked by checking if a combination of the defined Zalgo chars contains the given char.

Examples

A basic check:

assert!(zalgo::is_zalgo('҉'));

// The following is simply a latin letter, and is not zalgo:
assert!(!zalgo::is_zalgo('a'));