mrdocs::isUpperCase

isUpperCase overloads

Synopses

Determine if a character is an uppercase ASCII letter.

constexpr
bool
isUpperCase(char const c) noexcept;

Determine if every character in a string is uppercase ASCII.

constexpr
bool
isUpperCase(std::string_view const s) noexcept;

Return Value

  • true if c is in the range 'A' to 'Z'.

  • true if all characters are uppercase ASCII letters.

Parameters

Name

Description

c

Character to inspect.

s

String to inspect.

Created with MrDocs