pub fn is_double_width(c: char) -> bool
Expand description

Check if the char c has double width.

Examples

use unicode_display_width::is_double_width;

// assert_eq!(is_double_width('🛡'), false);
assert_eq!(is_double_width('✅'), true);