function isType(value, type) {
        return Object.prototype.toString.call(value).toLowerCase() === "[object " + type + "]";
    }
Determines whether an object is of the specified type.
@private
@param {*} value Object to check.
@param {String} type Type to check for, in lowercase.
@returns {Boolean} Whether the object matches the type.