Phinney工具包 公共方法库 判断函数 isFunction: ( data : any ) 对象合并 objectMerge: ( origin : any = { } , newData : any = { } ) 数据合计 sum: ( origin : any [ ] = [ ] , key ?: string | Function , initVal = 0 ) 根据取余获取表格数据项 getItemBySpare: ( arr : any [ ] , index : number ) 判断空对象 isEmptyObject: ( data : any ) => data is