C_Intl. GetCharacterProperties
functionguessedavailable in: camelot
Returns Unicode property values for the first code point in a string.
function C_Intl.GetCharacterProperties( text: string): CharacterProperties?Parameters
| name | type | description |
|---|---|---|
text | string | The string whose first code point is tested. |
Returns
result · CharacterProperties? · Unicode property values for the first code point.
| field | type | description |
|---|---|---|
codePoint | number | The Unicode code point tested for character properties. |
isAlphabetic | boolean | True if the code point is a letter character with general category L. |
isDigit | boolean | True if the code point is a digit character with general category Nd. |
isWhitespace | boolean | True if the code point has the Unicode White_Space property. |
generalCategory | string | The short Unicode property value name for the code point's general category. |
scriptCode | string | The short ISO 15924 script code for the code point's script. |
blockCode | string | The short Unicode property value name for the code point's block. |
Blizzard's documentation says it may return nothing.
In wowlua's emulated client
guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Intl system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.