I get the whole list:
private fun collectParentItems(): List<Any> { val parentItems = collectParentCategoriesGuids().map { CategoriesListItem(it) } return if (parentItems.isEmpty()) emptyList() else parentItems } How can I still get the whole list, but exclude one (specific) element from it?