isUppercasedASCII

Check if s is an uppercased ASCII string.

@safe pure @safe nothrow @nogc
bool
isUppercasedASCII
(
in char[] s
)

Examples

ditto

assert(`A`.isUppercasedASCII);
assert(!`a`.isUppercasedASCII);
assert(!`alpha`.isUppercasedASCII);
assert(`ALPHA`.isUppercasedASCII);
assert(!`aThing`.isUppercasedASCII);
assert(!`Alpha`.isUppercasedASCII);
assert(!`Jack London`.isUppercasedASCII);

Meta