time-to-botec/squiggle/node_modules/@stdlib/assert/is-touch-device
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00
..
docs feat: add the node modules 2022-12-03 12:44:49 +00:00
lib feat: add the node modules 2022-12-03 12:44:49 +00:00
package.json feat: add the node modules 2022-12-03 12:44:49 +00:00
README.md feat: add the node modules 2022-12-03 12:44:49 +00:00

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>