Jarves\AssetHandler\AssetInfo::isStylesheet PHP Method

isStylesheet() public method

Returns true if this is a stylesheet asset.
public isStylesheet ( ) : boolean
return boolean
    public function isStylesheet()
    {
        if ($this->getContentType()) {
            return 'text/css' === strtolower($this->getContentType());
        }
        if ($this->getPath()) {
            $exploded = explode('.', $this->getPath());
            return 'css' === strtolower(array_pop($exploded));
        }
        return false;
    }