source: trip-planner-front/node_modules/webpack-merge/dist/utils.js@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 734 bytes
Line 
1"use strict";
2exports.__esModule = true;
3exports.isUndefined = exports.isPlainObject = exports.isFunction = exports.isRegex = void 0;
4function isRegex(o) {
5 return o instanceof RegExp;
6}
7exports.isRegex = isRegex;
8// https://stackoverflow.com/a/7356528/228885
9function isFunction(functionToCheck) {
10 return (functionToCheck && {}.toString.call(functionToCheck) === "[object Function]");
11}
12exports.isFunction = isFunction;
13function isPlainObject(a) {
14 if (a === null || Array.isArray(a)) {
15 return false;
16 }
17 return typeof a === "object";
18}
19exports.isPlainObject = isPlainObject;
20function isUndefined(a) {
21 return typeof a === "undefined";
22}
23exports.isUndefined = isUndefined;
24//# sourceMappingURL=utils.js.map
Note: See TracBrowser for help on using the repository browser.