projects
/
platform
/
framework
/
web
/
wrtjs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[SignalingServer] Optimize dependent modules
[platform/framework/web/wrtjs.git]
/
device_home
/
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
};