isIngredientPresent

abstract suspend fun isIngredientPresent(name: String): Message

Return

WarehouseMessage.OK if the ingredient is in the warehouse, otherwise it returns WarehouseMessage.ERROR_INGREDIENT_NOT_FOUND

Parameters

name

of the ingredient to search for