SudoSOS Back-end API / internal/spec / nonEmptyArray
Function: nonEmptyArray() ​
ts
function nonEmptyArray<T>(list): Promise<
| Fail<ValidationError>
| Pass<T[]>>;Type Parameters ​
| Type Parameter |
|---|
T |
Parameters ​
| Parameter | Type |
|---|---|
list | T[] |
Returns ​
Promise< | Fail<ValidationError> | Pass<T[]>>