andre-dietrich / elm-conditional / Conditional.Char

A set of conditional functions for maipulating Chars

Conversion

toUpperIf : Basics.Bool -> Char -> Char

Convert to upper case if the first condition is met

toLowerIf : Basics.Bool -> Char -> Char

Convert to lower case if the first condition is met

toLocaleUpperIf : Basics.Bool -> Char -> Char

Convert to locale upper case if the first condition is met

toLocaleLowerIf : Basics.Bool -> Char -> Char

Convert to locale lower case if the first condition is met