@consumidor-positivo/ts-utils - v1.16.0
    Preparing search index...

    Function isTablet

    • Checks if the current device is a tablet (iPad or Android tablet).

      Returns boolean

      True if the device is a tablet, false otherwise

      import { isTablet } from '@consumidor-positivo/ts-utils';

      if (isTablet()) {
      console.log('Running on tablet');
      }