Unicode.script
You're seeing just the function
script
, go back to Unicode module for more information.
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 aString.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