FluidTYPO3\Vhs\ViewHelpers\Condition\String\IsUppercaseViewHelper::evaluateCondition PHP Method

evaluateCondition() protected static method

protected static evaluateCondition ( array $arguments = null ) : boolean
$arguments array
return boolean
    protected static function evaluateCondition($arguments = null)
    {
        if (true === $arguments['fullString']) {
            $result = ctype_upper($arguments['string']);
        } else {
            $result = ctype_upper(substr($arguments['string'], 0, 1));
        }
        return true === $result;
    }