(static) flattenArray(array) → {Array}
多维数组扁平化
参数说明:
Name | Type | Description |
---|---|---|
array |
* |
Returns:
展开后的数组
- Type
- Array
(static) flattenArrayAndInsertHeight(array, height) → {Array}
多维数组扁平化的同时在每个数组后插入高程
参数说明:
Name | Type | Description |
---|---|---|
array |
Array | |
height |
number |
Returns:
展开后的数组
- Type
- Array
module: 数组工具