(...params: FalseyValueArray<T>[])
| 8 | type FalseyValueArray<T> = T | Falsey | FalseyValueArray<T>[] |
| 9 | |
| 10 | export function buildArray<T>(...params: FalseyValueArray<T>[]) { |
| 11 | return compact(flattenDeep(params)) as T[] |
| 12 | } |
| 13 | |
| 14 | export function groupConsecutive<T, U>(xs: T[], key: (x: T) => U) { |
| 15 | if (!xs.length) { |
no outgoing calls
no test coverage detected