Alf_
01/23/2019, 11:12 AMHadi Tok
01/23/2019, 11:54 AMstring.contains(otherString, true)
for ignoring the case rather than lowerCasing everything.Alowaniak
01/23/2019, 12:10 PMfun foo(inUnkownCase: String, inLowerCase: String = inUnkownCase.toLowerCase())
but you shouldn't want to do that since that default parameter could be overridden or w/e anyway
Personally I don't like it that parameters are final, because imo it would make sense to do such transformation at start of method on same varAlf_
01/23/2019, 1:35 PM