Character properties

properties.h answers questions about single code points. Each lookup is a few reads of a compressed table and cannot fail; the function returns the value directly.

Property Function
General_Category muniGetGeneralCategory
Grapheme_Cluster_Break, Word_Break, Sentence_Break, Indic_Conjunct_Break muniGetGraphemeBreak, muniGetWordBreak, muniGetSentenceBreak, muniGetIndicConjunctBreak
Line_Break, East_Asian_Width muniGetLineBreak, muniGetEastAsianWidth
Bidi_Class, Bidi_Mirroring_Glyph, Bidi_Paired_Bracket_Type muniGetBidiClass, muniGetMirroringGlyph, muniGetBracketType
Canonical_Combining_Class muniGetCombiningClass
Script, Script_Extensions muniGetScript, muniGetScriptExtensions
Emoji properties muniIsExtendedPictographic, muniIsEmoji, muniIsEmojiPresentation, muniIsEmojiModifier, muniIsEmojiModifierBase, muniIsEmojiComponent
White_Space, Default_Ignorable_Code_Point muniIsWhiteSpace, muniIsDefaultIgnorable
Ideographic muniIsIdeographic
Decimal digit value muniGetDecimalDigitValue

Identifier properties are in identifier.h and case properties in case.h; see Identifiers and security and Normalization and case.

Not obvious