kanabake

Function is_valid

Source
pub fn is_valid(input: &str) -> bool
Expand description

Validate if input can be transformed to kana.

§Example

assert_eq!(kanabake::is_valid("konnichiha"), true);
assert_eq!(kanabake::is_valid("könnichiha"), false);