Function icu_properties::sets::ideographic

source ·
pub const fn ideographic() -> CodePointSetDataBorrowed<'static>
Expand description

Characters considered to be CJKV (Chinese, Japanese, Korean, and Vietnamese) ideographs, or related siniform ideographs

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let ideographic = sets::ideographic();

assert!(ideographic.contains('川'));  // U+5DDD CJK UNIFIED IDEOGRAPH-5DDD
assert!(!ideographic.contains('밥'));  // U+BC25 HANGUL SYLLABLE BAB