source: trip-planner-front/node_modules/url/util.js@ b738035

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

initial commit

  • Property mode set to 100644
File size: 314 bytes
Line 
1'use strict';
2
3module.exports = {
4 isString: function(arg) {
5 return typeof(arg) === 'string';
6 },
7 isObject: function(arg) {
8 return typeof(arg) === 'object' && arg !== null;
9 },
10 isNull: function(arg) {
11 return arg === null;
12 },
13 isNullOrUndefined: function(arg) {
14 return arg == null;
15 }
16};
Note: See TracBrowser for help on using the repository browser.