共用方式為


扁平化函式

完整名稱: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]