validateUserExists

Validates that the User with the given id exists in the UserRepository.

Return

The Result of the operation.

Author

Jan Müller

Parameters

<receiver>
userId
The id of the User.
suspend fun UserRepository.validateUserExists(userId: String): Result<User>