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

Functions to introspect Unicode
canonical combining classes for binaries
(Strings) and codepoints.

# `aliases`

Returns a map of aliases for
Unicode canonical combining classes..

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

# `combining_class`

Returns the canonical combining class
 name(s) for the given binary or codepoint.

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

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

# `combining_classes`

Returns the map of Unicode
canonical combining classes..

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

# `count`

Returns the count of the number of characters
for a given canonical combining class.

## Example

    iex> Unicode.CanonicalCombiningClass.count(230)
    546

# `fetch`

Returns the Unicode ranges for
a given canonical combining class
 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 canonical combining class
 as a list of ranges as 2-tuples.

Aliases are resolved by this function.

Returns either `range_list` or
`nil`.

# `known_combining_classes`

Returns a list of known Unicode
canonical combining class names.

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

---

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