flattenArray

Function

An IE-compatible stand-in for Javascript's array.flat

  • flattenArray(arr: any[]) : any[]

Parameters

Parameter Type Default Notes
arr Required any[]

the array

Returns

an array

any[]

Function defined in packages/common/src/util.ts:416