function isType(value, type) {
    return toString.call(value) === '[object ' + type + ']';
}
Determines whether a value is of the specified type, by resolving its internal [[Class]].

@private
@param {*} value Object to check.
@param {String} type Type to check for, in TitleCase.
@returns {Boolean} Whether the object matches the type.