Jarves\AssetHandler\AssetInfo::isTypeScript PHP Метод

isTypeScript() публичный Метод

Returns true if this is a typescript asset.
public isTypeScript ( ) : boolean
Результат boolean
    public function isTypeScript()
    {
        if ($this->getContentType()) {
            return 'text/typescript' === strtolower($this->getContentType());
        }
        if ($this->getPath()) {
            $exploded = explode('.', $this->getPath());
            return 'ts' === strtolower(array_pop($exploded));
        }
        return false;
    }