1.0.5 • Published 1 year ago

toolproject v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

开发文档

安装命令 npm i toolproject

(1) arraySome

引用此函数是处理两个数组是否完全一致,传参两个变量(arr1,aarr2) 返回true则是完全一致, 反之不同。
==举例==
let a=[1,2,3,4];
let b=[1,2,3,4];
let c=[1,2,3];
console.log(arraySome(a,b))  输出结果true
console.log(arraySome(a,c))  输出结果false

(2) fomatterValueCustomMessage

引用此函数是处理将需要自定义处理的数据格式。
==举例==
let a='';
let b=null;
let c=undefined;
console.log(fomatterValueCustomMessage(a,'-',['',null]))  输出结果 -
console.log(fomatterValueCustomMessage(a,'-',[undefined,null]))  输出结果''
1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago