code: function isType(t, str) {
          // This function gets the type of `t`, typeof and instanceof are unreliable (typeof null === 'object')
          return Object.prototype.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase() === str;
      }
docs: /* Helper functions