combine
Stentor API Reference / stentor-utils/src / combine
Function: combine()
combine<
T>(one,two):T[]
Defined in: packages/stentor-utils/src/array.ts:82
Combines two arrays, either of which can be undefined. It always returns an array.
Type Parametersβ
Tβ
T
Parametersβ
oneβ
T[] | undefined
twoβ
T[] | undefined
Returnsβ
T[]