UNPKG

replace-all-js

Version:

js replaceAll for String and Object

8 lines (7 loc) 157 B
/** * Created by jkwu on 17-11-17. */ function isArray(o){ return Object.prototype.toString.call(o)=='[object Array]'; } module.exports = { isArray };