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

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

Summary

Types

t()

All the types that implement this protocol.

Functions

Converts term to a localised string.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

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

Converts term to a localised string.