# isTablet

### Overview <a href="#markdown-header-overview" id="markdown-header-overview"></a>

Checks if AATKit recognizes given device as tablet.

### Syntax <a href="#markdown-header-syntax" id="markdown-header-syntax"></a>

```javascript
isTablet(Callback callback)
```

**CALLBACK(REQUIRED)**

_Callback\<Boolean>._ Used to provide the function call result to JavaScript.

Parameters:

* **boolean** - True if device is recognized as tablet, false otherwise.

### Examples <a href="#markdown-header-examples" id="markdown-header-examples"></a>

<pre class="language-javascript"><code class="lang-javascript"><strong>RNAatkit.isTablet((isTablet) => {
</strong>                console.log("isTablet " + isTablet);
            });
</code></pre>
