xii
02/24/2021, 10:57 AMval test = elements.findLast { it.isCondition }
Youssef Shoaib [MOD]
02/24/2021, 11:10 AMKProperty<Boolean>
or alternatively you can pass in a transformation function that takes an element of your type and spits out a booleanxii
02/24/2021, 11:18 AMExpression '' of type 'Function<Boolean>' cannot be invoked as a function. The function 'invoke()' is not found
Youssef Shoaib [MOD]
02/24/2021, 11:33 AMxii
02/25/2021, 6:28 PM