xii
02/24/2021, 10:57 AMxii
02/24/2021, 10:58 AMval test = elements.findLast { it.isCondition }xii
02/24/2021, 10:59 AMxii
02/24/2021, 10:59 AMxii
02/24/2021, 11:01 AMYoussef 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 AMxii
02/24/2021, 11:18 AMExpression '' of type 'Function<Boolean>' cannot be invoked as a function. The function 'invoke()' is not foundYoussef Shoaib [MOD]
02/24/2021, 11:33 AMxii
02/25/2021, 6:28 PMxii
02/25/2021, 6:29 PMxii
02/25/2021, 6:29 PM