Search...
Ctrl
+
K
wincloud
Sign in
Subscribe
kotlin 空不空执行分支
null
?.
let
{ println(
"非空"
) }?:
let
{ println(
"空"
) }
?.let 执行的是非空逻辑
?:let执行的是空逻辑