`items.list.filter {}.map { it.depth }.max() ?: -1...
# stdlib
l
items.list.filter {}.map { it.depth }.max() ?: -1
?
👍 1