src/Validator/Validator.php
protected function isString(...$args)
    {
        foreach ($args as $arg) {
            if (!is_string($arg) || $arg === '') {
                return false;
            }
        }

        return true;
    }
protected function isString(...$args)
    {
        foreach ($args as $arg) {
            if (!is_string($arg) || $arg === '') {
                return false;
            }
        }

        return true;
    }
protected function isString ( ... $ args ) { foreach ( $ args as $ arg ) { if ( ! is_string ( $ arg ) || $ arg === '' ) { return false ; } } return true ; }
Checks if the specified argument is a valid string.

@param string $arg The argument to validate.

@return bool True if the specified argument is valid. False if it does not.
Checks if the specified argument is a valid string .