Skip to content

Latest commit

 

History

History

is-touch-device

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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>