You are here

public function MobileDetectTwig::isTablet in Mobile Detect 8.2

* Is tablet *

Return value

boolean

File

src/Twig/MobileDetectTwig.php, line 57

Class

MobileDetectTwig
MobileDetectTwig class.

Namespace

Drupal\mobile_detect\Twig

Code

public function isTablet() {
  return $this->mobileDetector
    ->isTablet();
}