query
On this page

toUpper

lib.strings.toUpper

Docs pulled from | This Revision | about 2 hours ago


Converts an ASCII string s to upper-case.

Inputs

s
The string to convert to upper-case.

Type

toUpper :: string -> string

Examples

lib.strings.toUpper usage example

toUpper "home"
=> "HOME"

Noogle detected

Aliases

Implementation

This function is implemented in c++ and is part of the native nix runtime.

Implementation

The following is the current implementation of this function.

toUpper = replaceStrings lowerChars upperChars;