summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/lib/utils/type_utility.js
blob: db62e0be324d39e726baf7c39a7e8a2de50ba36c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* eslint-disable func-names, space-before-function-paren, wrap-iife, no-var, no-param-reassign, no-cond-assign, no-return-assign, max-len */
(function() {
  (function(w) {
    var base;
    if (w.gl == null) {
      w.gl = {};
    }
    if ((base = w.gl).utils == null) {
      base.utils = {};
    }
    return w.gl.utils.isObject = function(obj) {
      return (obj != null) && (obj.constructor === Object);
    };
  })(window);
}).call(window);