@web3r/flowerkit
Version:
A collection of more than 60 often used utility JS functions that simplify frontend development.
10 lines • 297 B
TypeScript
/**
* Checks if user devise has touchscreen
* @return {boolean}
* @example
* // How to check if user has touchscreen device?
* const isTouchEnabled = isTouchDevice();
* console.log(isTouchEnabled); // => false
*/
export function isTouchDevice(): boolean;
//# sourceMappingURL=index.d.ts.map