src/Agent.php
public function isDesktop($userAgent = null, $httpHeaders = null)
    {
        return !$this->isMobile($userAgent, $httpHeaders) && !$this->isTablet($userAgent, $httpHeaders) && !$this->isRobot($userAgent);
    }
public function isDesktop($userAgent = null, $httpHeaders = null)
    {
        return !$this->isMobile($userAgent, $httpHeaders) && !$this->isTablet($userAgent, $httpHeaders) && !$this->isRobot($userAgent);
    }
public function isDesktop ( $ userAgent = null , $ httpHeaders = null ) { return ! $ this -> isMobile ( $ userAgent , $ httpHeaders ) && ! $ this -> isTablet ( $ userAgent , $ httpHeaders ) && ! $ this -> isRobot ( $ userAgent ) ; }
Check if the device is a desktop computer.
@param  string|null $userAgent deprecated
@param  array $httpHeaders deprecated
@return bool
Check if the device is a desktop computer .