remove all items list

// Assuming 'list' is the MutableList from which you want to remove all items
list.clear()