SudoSOS Back-end API / helpers / asArrayOfUserTypes
Function: asArrayOfUserTypes() ​
ts
function asArrayOfUserTypes(input): UserType[];Converts the input to a list of UserTypes
Parameters ​
| Parameter | Type | Description |
|---|---|---|
input | any | - |
Returns ​
UserType[]
Throws ​
TypeError - If the input is not a valid UserType