fun foo(list: List): String? { for (s in list) { if (s.length > 0) { return s } } return null }