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

1.3 KiB

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>