The OpenD Programming Language

allowedIn

Tests if dchar ch is always allowed (Quick_Check=YES) in normalization form norm.

version(!std_uni_bootstrap)
bool
allowedIn
(
dchar ch
)

Examples

// e.g. Cyrillic is always allowed, so is ASCII
assert(allowedIn!NFC('я'));
assert(allowedIn!NFD('я'));
assert(allowedIn!NFKC('я'));
assert(allowedIn!NFKD('я'));
assert(allowedIn!NFC('Z'));

Meta