Skip to content

Latest commit

 

History

History
83 lines (49 loc) · 1.6 KB

File metadata and controls

83 lines (49 loc) · 1.6 KB

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>