elizarov
06/16/2019, 11:21 PMDias
06/17/2019, 9:52 AMAlowaniak
06/17/2019, 11:33 AMlist.indexOfFirst { it >= value }.takeIf { it >= 0 } ?: list.size which would mean it should give the size of the list when not found?0 when searching for 0 in [1].Pavlo Liapota
06/17/2019, 11:57 AM1 is more than value 0 so index 0 is returned.Alowaniak
06/17/2019, 12:01 PM