Trevor
11/14/2017, 8:13 PMPavlo Liapota
11/14/2017, 8:36 PMTrevor
11/14/2017, 8:56 PMlogins[0]?
would be the equivalent of firstOrNull
?Pavlo Liapota
11/14/2017, 9:10 PMlogins[0]?
will be confusing when used together with operator ?.
logins[0]?.name
, is it logins[0]? . name
or logins[0] ?. name