Vitali Plagov
01/21/2020, 11:47 AMifEmpty{}
, but it returns the entire collection if it is not empty, while I don’t need the collection and just it’s first element.gian
01/21/2020, 11:50 AMlist.getOrElse(0){ call function }
Vitali Plagov
01/21/2020, 1:34 PM