SudoSOS Back-end API / internal/spec/inactive-administrative-cost-spec / verifyValidUserId
Function: verifyValidUserId() ​
ts
function verifyValidUserId<T>(p): Promise<
| Fail<ValidationError>
| Pass<T>>;Check whether the given user is a valid user
Type Parameters ​
| Type Parameter |
|---|
T extends CreateInactiveAdministrativeCostRequest |
Parameters ​
| Parameter | Type |
|---|---|
p | T |
Returns ​
Promise< | Fail<ValidationError> | Pass<T>>