# `Unicode.Script`
[🔗](https://github.com/elixir-unicode/unicode/blob/v1.21.1/lib/unicode/property/script.ex#L1)

Property manager for the Unicode script property.

# `aliases`

Returns a map of aliases for
Unicode scripts.

An alias is an alternative name
for referring to a script. Aliases
are resolved by the `fetch/1` and
`get/1` functions.

# `count`

Returns the count of the number of characters
for a given script.

## Example

    iex> Unicode.Script.count("mongolian")
    168

# `fetch`

Returns the Unicode ranges for
a given script as a list of
ranges as 2-tuples.

Aliases are resolved by this function.

Returns either `{:ok, range_list}` or
`:error`.

# `get`

Returns the Unicode ranges for
a given script as a list of
ranges as 2-tuples.

Aliases are resolved by this function.

Returns either `range_list` or
`nil`.

# `known_scripts`

Returns a list of known Unicode
script names.

This function does not return the
names of any script aliases.

# `script`

Returns the script name(s) for the
given binary or codepoint.

In the case of a codepoint, a single
script name is returned.

For a binary a list of distinct script
names represented by the graphemes in
the binary is returned.

# `scripts`

Returns the map of Unicode
scripts.

The script name is the map
key and a list of codepoint
ranges as tuples as the value.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
