diff options
Diffstat (limited to 'share/server/util.js')
-rw-r--r-- | share/server/util.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/server/util.js b/share/server/util.js index 71a36a29..1b57f041 100644 --- a/share/server/util.js +++ b/share/server/util.js @@ -124,3 +124,7 @@ function log(message) { } respond(["log", String(message)]); }; + +function isArray(obj) { + return toString.call(obj) === "[object Array]"; +} |