forked from enviPath/enviPy
Current Dev State
This commit is contained in:
16
static/js/ketcher2/node_modules/url/util.js
generated
vendored
Normal file
16
static/js/ketcher2/node_modules/url/util.js
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
isString: function(arg) {
|
||||
return typeof(arg) === 'string';
|
||||
},
|
||||
isObject: function(arg) {
|
||||
return typeof(arg) === 'object' && arg !== null;
|
||||
},
|
||||
isNull: function(arg) {
|
||||
return arg === null;
|
||||
},
|
||||
isNullOrUndefined: function(arg) {
|
||||
return arg == null;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user