astock-agent/frontend/node_modules/size-sensor/lib/utils.js
2026-04-07 20:51:00 +08:00

18 lines
397 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.isIE = void 0;
/**
* Created by hustcc on 18/6/22.
* Contract: i@hust.cc
*/
/**
* whether is ie, should do something special for ie
* @returns {RegExpMatchArray | null}
*/
var isIE = exports.isIE = function isIE() {
return navigator.userAgent.match(/Trident/) || navigator.userAgent.match(/Edge/);
};