fun f(x: Any?): String { if (x is Array) { for (i in x) { return i } } return "FAIL" } fun box(): String = f(Array(1, {"OK"}))