/**
 * Returns true if the string contains only upper case chars, false otherwise.
 *
 * @return bool Returns TRUE on success or FALSE otherwise.
 */
public function isUpper(): bool

Examples

if (Strings::create('FOOBAR')->isUpper()) {
    // do something...
}

Getting Started

Methods