Unicode.unicharGetScript

Looks up the GUnicodeScript for a particular character (as defined by Unicode Standard Annex \[24|24]). No check is made for ch being a valid Unicode character; if you pass in invalid character, the result is undefined.

This function is equivalent to Script.forUnichar and the two are interchangeable.

struct Unicode
static
unicharGetScript
(
dchar ch
)

Parameters

ch dchar

a Unicode character

Return Value

the GUnicodeScript for the character.

Meta

Since

2.14