andre-dietrich/elm-conditional/1.0.0

Conditional.Char

A set of conditional functions for maipulating Chars

Conversion

toUpperIf : Bool -> Char -> Char

Convert to upper case if the first condition is met

toLowerIf : Bool -> Char -> Char

Convert to lower case if the first condition is met

toLocaleUpperIf : Bool -> Char -> Char

Convert to locale upper case if the first condition is met

toLocaleLowerIf : Bool -> Char -> Char

Convert to locale lower case if the first condition is met