Cldr Unicode v1.0.0 Unicode.Guards View Source
Defines a set of guards that can be used with Elixir functions.
Each guard operates on a UTF8 codepoint since the permitted operators in a guard clause are restricted to simple comparisons that do not include string comparators.
The data that underpins these guards is generated from the Unicode character database and therefore includes a broad range of scripts well beyond the basic ASCII definitions.
Link to this section Summary
Functions
Guards whether a UTF8 codepoint is a currency symbol character.
Guards whether a UTF8 codepoint is a digit character.
Guards whether a UTF8 codepoint is a lower case character.
Guards whether a UTF8 codepoint is an upper case character.
Guards whether a UTF8 codepoint is a whitespace symbol character.
Link to this section Functions
Guards whether a UTF8 codepoint is a currency symbol character.
Guards whether a UTF8 codepoint is a digit character.
This guard will match any digit character from any Unicode script, not only the ASCII decimal digits.
Guards whether a UTF8 codepoint is a lower case character.
The match is for any UTF8 character that is defined in Unicode to be an lower case character in any script.
Guards whether a UTF8 codepoint is an upper case character.
The match is for any UTF8 character that is defined in Unicode to be an upper case character in any script.
Guards whether a UTF8 codepoint is a whitespace symbol character.