Skip to main content

has_emoji

Function has_emoji 

Source
pub fn has_emoji(text: &str) -> bool
Expand description

True if text contains any character that wants emoji presentation (#8-aware: honours the VS16 opt-in for text-presentation-default code points, so plain “©”/“✓” no longer count as emoji here).