Unicode.script

You're seeing just the function script, go back to Unicode module for more information.
Link to this function

script(codepoint_or_string)

View Source

Specs

script(codepoint_or_string()) :: String.t() | [String.t(), ...]

Returns the script name of a codepoint or the list of block names for each codepoint in a string.

Arguments

  • codepoint_or_string is a single integer codepoint or a String.t.

Returns

  • in the case of a single codepoint, a string script name

  • in the case of a string, a list of string script names for each codepoint in the codepoint_or_string

Exmaples

iex> Unicode.script 
:latin

iex> Unicode.script 
:arabic

iex> Unicode.script ?अ
:devanagari

iex> Unicode.script 
:hebrew

iex> Unicode.script 
:cyrillic

iex> Unicode.script 
:greek

iex> Unicode.script ?ก
:thai

iex> Unicode.script ?ယ
:myanmar