# IS_MOBILE > Check if the current environment is a mobile device.
## Usage ```javascript var IS_MOBILE = require( '@stdlib/assert/is-mobile' ); ``` #### IS_MOBILE `Boolean` indicating if the current environment is a mobile device. ```javascript var bool = IS_MOBILE; // returns ```
## Notes - In order to determine whether the current environment is a mobile device, the implementation checks whether the User Agent contains the string "Mobi" per the [MDN recommendations][mdn-mobile].
## Examples ```javascript var IS_MOBILE = require( '@stdlib/assert/is-mobile' ); console.log( IS_MOBILE ); // => ```