bdawg.io
fun doSomething(block: ((String) -> Boolean)? = null) { ... } doSomething() doSomething { it.toBoolean() }