View Source Cldr.Chars protocol (Cldr v2.37.1)

The Cldr.Chars protocol mirrors the String.Chars protocol but localises the output. It is intended to be drop-in replacement for String.Chars.

Link to this section Summary

Types

t()

All the types that implement this protocol.

Functions

Converts term to a localised string.

Link to this section Types

@type t() :: term()

All the types that implement this protocol.

Link to this section Functions

@spec to_string(t()) :: String.t()

Converts term to a localised string.