fun doSomething(a: T) {} fun foo() { val a = true val b = false val c = true if (a && b && c) { doSomething("test") } }