projects
/
platform
/
framework
/
web
/
wrtjs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
97dcf31cd4e6c754fbda7ec15950f98cb0cee87c
[platform/framework/web/wrtjs.git]
/
d2d_app
/
node_modules
/
express
/
node_modules
/
url
/
util.js
1
'use strict';
2
3
module.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
};