@morph-mapper/source / assertNotEmpty
Function: assertNotEmpty()
assertNotEmpty<
T>(arr,err?):asserts arr is [T, ...T[]]
Defined in: guards.ts:9
Type Parameters
T
T
Parameters
arr
T[]
err?
string
Returns
asserts arr is [T, ...T[]]