平展函数

完全限定名称:Std.Arrays.Flattened

function Flattened<'T>(arrays : 'T[][]) : 'T[]

总结

给定数组数组,返回所有数组的串联。

类型参数

'T

array 元素的类型。

输入

阵 列

数组数组。

输出

所有数组的串联。

let flattened = Flattened([[1, 2], [3], [4, 5, 6]]);
// flattened = [1, 2, 3, 4, 5, 6]