Function icu_properties::sets::radical

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

Characters used in the definition of Ideographic Description Sequences

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let radical = sets::radical();

assert!(radical.contains('⺆'));  // U+2E86 CJK RADICAL BOX
assert!(!radical.contains('丹'));  // U+F95E CJK COMPATIBILITY IDEOGRAPH-F95E