有没有像这样的运营商?在TypeScript中可以检查变量是否为空或未定义为Kotlin?喜欢
person?.getName()?.firstName ?: "None"
typescript typescript2.0
typescript ×1
typescript2.0 ×1