Skip to main content
Menu
英文官网
GitHub
🌜
🌞
英文官网
GitHub
Menu
Underscore.js 简介
集合(Collections)
each
map
reduce
reduceRight
find
filter
where
findWhere
reject
every
some
contains
invoke
pluck
max
min
sortBy
groupBy
indexBy
countBy
shuffle
sample
toArray
size
partition
数组(Arrays)
first
initial
last
rest
compact
flatten
without
union
intersection
difference
uniq
zip
unzip
object
chunk
indexOf
lastIndexOf
sortedIndex
findIndex
findLastIndex
range
函数(Functions)
bind
bindAll
partial
memoize
delay
defer
throttle
debounce
once
after
before
wrap
negate
compose
restArguments
对象(Objects)
keys
allKeys
values
mapObject
pairs
invert
create
functions
findKey
extend
extendOwn
pick
omit
defaults
clone
tap
has
property
propertyOf
matcher
isEqual
isMatch
isEmpty
isElement
isArray
isObject
isArguments
isFunction
isString
isNumber
isFinite
isBoolean
isDate
isRegExp
isError
isSymbol
isMap
isWeakMap
isSet
isWeakSet
isNaN
isNull
isUndefined
工具函数(Utility)
noConflict
identity
constant
noop
times
random
mixin
iteratee
uniqueId
escape
unescape
result
now
template
Object-Oriented Style
链式语法(Chaining)
chain
value
更多链接 & 推荐阅读
更新日志(Change Log)
isElement
_.isElement(object)
如果
object
是一个 DOM 元素,返回
true
。
_
.
isElement
(
jQuery
(
'body'
)
[
0
]
)
;
=>
true
Copy
Previous
« isEmpty
Next
isArray »