src/aria/utils/Device.js
function () {
            var isTouch = false;

            if (ariaCoreBrowser.isBlackBerry) {
                if (!ariaUtilsArray.contains([9670, 9100, 9105, 9360, 9350, 9330, 9320, 9310, 9300, 9220, 9780, 9700, 9650], +this.model())) {
                    isTouch = true;
                }
            } else {
                var window = Aria.$window;

                if (('ontouchstart' in window) || window.DocumentTouch && window.document instanceof window.DocumentTouch) {
                    isTouch = true;
                }
            }

            return !!isTouch;
        }
function () {
            var isTouch = false;

            if (ariaCoreBrowser.isBlackBerry) {
                if (!ariaUtilsArray.contains([9670, 9100, 9105, 9360, 9350, 9330, 9320, 9310, 9300, 9220, 9780, 9700, 9650], +this.model())) {
                    isTouch = true;
                }
            } else {
                var window = Aria.$window;

                if (('ontouchstart' in window) || window.DocumentTouch && window.document instanceof window.DocumentTouch) {
                    isTouch = true;
                }
            }

            return !!isTouch;
        }
function ( ) { var isTouch = false ; if ( ariaCoreBrowser . isBlackBerry ) { if ( ! ariaUtilsArray . contains ( [ 9670 , 9100 , 9105 , 9360 , 9350 , 9330 , 9320 , 9310 , 9300 , 9220 , 9780 , 9700 , 9650 ] , + this . model ( ) ) ) { isTouch = true ; } } else { var window = Aria . $window ; if ( ( 'ontouchstart' in window ) || window . DocumentTouch && window . document instanceof window . DocumentTouch ) { isTouch = true ; } } return ! ! isTouch ; }
Checks whether it is a touch device.

@return {Boolean} <em>true</em> if so, <em>false</em> otherwise
Checks whether it is a touch device .