NukeViet\Client\Browser::isBrowser PHP 메소드

isBrowser() 공개 메소드

Check to see if the specific browser is valid
public isBrowser ( string $browserName ) : boolean
$browserName string
리턴 boolean True if the browser is the specified browser
    public function isBrowser($browserName)
    {
        return 0 == strcasecmp($this->_browser_name, trim($browserName)) or 0 == strcasecmp($this->_browser_key, trim($browserName));
    }