underscore.js Object functions (replacement 2)

_.isArray(object) === if(object instanceof Array)

_.isObject(value) === if(object instanceof Object)

_.isFunction(object) === if(object instanceof Function)

_.isString(object) === if(object instanceof String)

_.isNumber(object) === if(object instanceof Number)

_.isBoolean(object) === if(object instanceof Boolean)

_.isDate(object) === if(object instanceof Date)

_.isRegExp(object) === if(object instanceof RegExp)

This entry was posted in Uncategorized. Bookmark the permalink.