/**
 * This function deletes the furniture of a specific type from the given list.
 *
 * @param furnitureList A list of furniture items.
 * @param furnitureType The type of furniture to be deleted.
 * @return The updated list after deleting the furniture of the given type.
 */
fun deleteFurniture(furnitureList: List<Map<String, String>>, furnitureType: String): List<Map<String, String>> {

    return furnitureList.filter { it["type"] != furnitureType }
}
/**
 * This function deletes the furniture of a specific type from the given list.
 *
 * @param furnitureList A list of furniture items.
 * @param furnitureType The type of furniture to be deleted.
 * @return The updated list after deleting the furniture of the given type.
 */
fun deleteFurniture(furnitureList: List<Map<String, String>>, furnitureType: String): List<Map<String, String>> {
/**
 * This function deletes the furniture of a specific type from the given list.
 *
 * @param furnitureList A list of furniture items.
 * @param furnitureType The type of furniture to be deleted.
 * @return The updated list after deleting the furniture of the given type.
 */
fun deleteFurniture(furnitureList: List<Map<String, String>>, furnitureType: String): List<Map<String, String>> {

    return furnitureList.filter { it["type"] != furnitureType }
}