2 exports.__esModule = true;
3 exports.isUndefined = exports.isPlainObject = exports.isFunction = exports.isRegex = void 0;
5 return o instanceof RegExp;
7 exports.isRegex = isRegex;
8 // https://stackoverflow.com/a/7356528/228885
9 function isFunction(functionToCheck) {
10 return (functionToCheck && {}.toString.call(functionToCheck) === "[object Function]");
12 exports.isFunction = isFunction;
13 function isPlainObject(a) {
14 if (a === null || Array.isArray(a)) {
17 return typeof a === "object";
19 exports.isPlainObject = isPlainObject;
20 function isUndefined(a) {
21 return typeof a === "undefined";
23 exports.isUndefined = isUndefined;
24 //# sourceMappingURL=utils.js.map