- ChaoYang常用函数包3333
- arrSortByAttribute 数组是按某属性排序
- transformArr 数组相关操作
eg:transformArr(list, { attribute: "num", optType: "sort", //sum求和,sort排序,unique去重 sortType: "desc",```
- getRandomInt 随机生成两个值之间的整数
- checkType :判断变量的类型(return 小写)
- toFullScreen(入参需要全屏的元素,不传默认document.documentElement) 、exitFullscreen
- 流水线发布npm包
cy_common_fn
1.0.7 • Public • PublishedPackage Sidebar
Install
npm i cy_common_fn
Weekly Downloads
0
Version
1.0.7
License
ISC
Unpacked Size
7.42 kB
Total Files
7