Unicode.block

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

block(codepoint_or_string)

View Source

Specs

block(codepoint_or_string()) :: atom() | [atom(), ...]

Returns the block 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, an atom block name

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

Exmaples

iex> Unicode.block 
:latin_1_supplement

iex> Unicode.block ?A
:basic_latin

iex> Unicode.block "äA"
[:latin_1_supplement, :basic_latin]