Null check on more than one variable

前端 未结 0 700
野性不改
野性不改 2021-01-26 23:19

is it possible to reformat this piece of code in Kotlin, that it gets a bit smaller? The function should return A and B as a Pair, if both are unequal to null. Else it should re

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