Skip to content

class unicode

Unicode functions.


methods


unicode.script


function unicode.script(char: integer) ->  HbScript {
    COMMON = string,
    INHERITED = string,
    UNKNOWN = string,
    INVALID = string,
    new = function,
    from_iso15924_tag = function,
    to_iso15924_tag = function,
    __to_string = function,
    __eq = function,
}
@param char - Unicode codepoint

@return - a Script object.

😱 Types incomplete or incorrect? 🙏 Please contribute!

Retrieve the Script object to which code point unicode belongs.

Wraps hb_unicode_script

Reference: