How to properly zip (combine) the values of two nullables in Kotlin?

前端 未结 0 482
谎友^
谎友^ 2021-01-27 07:21

I wonder what would be an idiomatic approach in Kotlin to combine two optional (nullable) values.

A simple showcase would be



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题