toUpper

fnauto toUpper(C)(C c) if (is(C : dchar))

Converts an ASCII letter to uppercase.

Parameters

cAny type which implicitly converts to dchar. In the case where it's a built-in type, or an enum of a built-in type, Unqual!(OriginalType!C) is returned, whereas if it's a user-defined type, dchar is returned.

Returns

The corresponding uppercase letter, if c is a lowercase ASCII

character, otherwise c itself.