IS_TOUCH_DEVICE

Check if the current environment is a touch device.

Usage

var IS_TOUCH_DEVICE = require( '@stdlib/assert/is-touch-device' );

IS_TOUCH_DEVICE

Boolean indicating if the current environment is a touch device.

var bool = IS_TOUCH_DEVICE;
// returns <boolean>

Examples

var IS_TOUCH_DEVICE = require( '@stdlib/assert/is-touch-device' );

console.log( IS_TOUCH_DEVICE );
// => <boolean>
Did you find this page helpful?