fun foo(x: Number): Boolean { val result = (x as Int) in 1..5 x : Int return result }