UNPKG
replace-all-js
Version:
latest (0.0.8)
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
js replaceAll for String and Object
github.com/suwu150/replace-all
suwu150/replace-all
replace-all-js
/
src
/
isArray.js
8 lines
(7 loc)
•
157 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
/** * Created by jkwu on 17-11-17. */
function
isArray
(
o
){
return
Object
.
prototype
.
toString
.
call
(o)==
'[object Array]'
; }
module
.
exports
= { isArray };