protected function isNoneHtmlResponse(IlluminateResponse $content)
    {
        $contentType = $content->headers->get('Content-Type');
        $isHtml      = Str::startsWith($contentType, 'text/html');

        return ! is_null($content) && ! $isHtml;
    }
protected function isNoneHtmlResponse(IlluminateResponse $content)
    {
        $contentType = $content->headers->get('Content-Type');
        $isHtml      = Str::startsWith($contentType, 'text/html');

        return ! is_null($content) && ! $isHtml;
    }
protected function isNoneHtmlResponse ( IlluminateResponse $ content ) { $ contentType = $ content -> headers -> get ( 'Content-Type' ) ; $ isHtml = Str :: startsWith ( $ contentType , 'text/html' ) ; return ! is_null ( $ content ) && ! $ isHtml ; }
Is response none html.

@param  \Illuminate\Http\Response  $content

@return bool
Is response none html .