"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = isMobile;

function isMobile() {
  var info = navigator.userAgent;
  var agents = ['Android', 'iPhone', 'SymbianOS', 'Windows Phone', 'iPod', 'iPad'];

  for (var i = 0; i < agents.length; i++) {
    if (info.indexOf(agents[i]) >= 0) return true;
  }

  return false;
}
//# sourceMappingURL=isMobile.js.map
