Skip to main content

is_displayable

Function is_displayable 

Source
pub fn is_displayable(word: &str) -> bool
Expand description

true iff every character in word is below the rare-CJK threshold (U+20000 — start of CJK Extension B). Pinyin-side composer also calls this so the user-facing rare-char toggle applies uniformly to both engines (item 54).