UNPKG

replace-all-js

Version:

js replaceAll for String and Object

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