checkUserExists
talawa-api • Docs
talawa-api / utilities/checks / checkUserExists
Function: checkUserExists()
> checkUserExists(userId
): Promise
<InterfaceUser
>
This function checks if the user exists.
Parameters
• userId: string
user id
Returns
Promise
<InterfaceUser
>
User