/**
 * Returns true if the string contains ASCII, false otherwise.
 *
 * @return bool Returns TRUE on success or FALSE otherwise.
 */
public function isAscii(): bool

Examples

if (Strings::create('#@$%')->isAscii()) {
    // do something...
}

Getting Started

Methods