Hello, what's the idiomatic way to do something li...
# arrow
k
Hello, what's the idiomatic way to do something like that:
Copy code
Option<MyType>(...).filter { it is MySubType }.map { 
  it as MySubType
  ... // no more casting problem
}