src/CLImate.php
protected function hasOutput($output)
    {
        if (!empty($output)) {
            return true;
        }

        // Check for type first to avoid errors with objects/arrays/etc
        return ((is_string($output) || is_numeric($output)) && strlen($output) > 0);
    }
protected function hasOutput($output)
    {
        if (!empty($output)) {
            return true;
        }

        // Check for type first to avoid errors with objects/arrays/etc
        return ((is_string($output) || is_numeric($output)) && strlen($output) > 0);
    }
protected function hasOutput ( $ output ) { if ( ! empty ( $ output ) ) { return true ; } // Check for type first to avoid errors with objects/arrays/etc return ( ( is_string ( $ output ) || is_numeric ( $ output ) ) && strlen ( $ output ) > 0 ) ; }
Check if we have valid output

@param  mixed   $output

@return boolean
Check if we have valid output