0.0.5 • Published 4 years ago
@xizhe/utils v0.0.5
@xizhe/utils
名称:SparkUtils
说明:薪火科技常用工具库
SpkLocalStorage
,即LocalStorage
类SpkSessionStorage
,即SessionStorage
类CountDownTimer
倒计时类getObjectIndexInArray
数组元素为对象时,根据对象中某个字段,获取其所在索引,返回Number
copyObjectPartAttributes
获取对象中部分属性,返回Object
hasObjectInArray
根据对象中某一字段 判断数组中是否存在符合该条件的对象,返回Boolean
isArray
判断是否为数组,返回Boolean
isObject
判断是否为函数,返回Boolean
isFunction
判断是否为对象,返回Boolean