validateItemExists

Validates that the Item with the given id exists in the ItemRepository.

Return

The Result of the operation.

Author

Jan Müller

Parameters

<receiver>
itemId
The id of the Item.
suspend fun ItemRepository.validateItemExists(itemId: String): Result<Item>