# Collection 集合

## 方法

[$core.size](https://github.com/qianduanka/core-js-pro/blob/main/markdown/collection/size.md) 获取长度或数量

[$core.group](https://github.com/qianduanka/core-js-pro/blob/main/markdown/collection/group.md) 分组

[$core.sort](https://github.com/qianduanka/core-js-pro/blob/main/markdown/collection/sort.md) 排序

[$core.sample](https://github.com/qianduanka/core-js-pro/blob/main/markdown/collection/sample.md) 随机获取集合元素

[$core.shuffle](https://github.com/qianduanka/core-js-pro/blob/main/markdown/collection/shuffle.md) 打乱集合

[$core.isSetLike](https://github.com/qianduanka/core-js-pro/blob/main/markdown/collection/isSetLike.md) 判断是否满足集合特性

[$core.subSet](https://github.com/qianduanka/core-js-pro/blob/main/markdown/collection/subSet.md) 判断是不是子集

[$core.intersection](https://github.com/qianduanka/core-js-pro/blob/main/markdown/collection/intersection.md) 交集

[$core.union](https://github.com/qianduanka/core-js-pro/blob/main/markdown/collection/union.md) 并集

[$core.symmetricDifference](https://github.com/qianduanka/core-js-pro/blob/main/markdown/collection/symmetricDifference.md) 差集

[$core.complementSet](https://github.com/qianduanka/core-js-pro/blob/main/markdown/collection/complementSet.md) 补集 补集一般指绝对补集

[$core.unique](https://github.com/qianduanka/core-js-pro/blob/main/markdown/collection/unique.md) 去重



## 安装

```shell
npm install --save core-js-pro
```

## 使用

```javascript
import $core from 'core-js-pro';
```
