Skip to content
This repository has been archived by the owner on Apr 4, 2019. It is now read-only.

yields/is-touch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-touch

Check if touch is supported.

Installation

$ component install yields/is-touch

Example

var isTouch = require('is-touch');
isTouch(); // > boolean

API

isTouch()

returns a boolean indicating whether or not touch is supported.

License

MIT