The problem with that function is that, currently, you cannot take advantage of smart cast to avoid the need to use safe calls (?.
), so depending on the case, it may not make much sense to use it.
The problem with that function is that, currently, you cannot take advantage of smart cast to avoid the need to use safe calls (?.
), so depending on the case, it may not make much sense to use it.