Kotlin 复合符号( ‘?.’ ‘?:’ ‘!!’ ‘as?’ ‘?’ ) 1、 ?.安全调用符 if (foo != null){ return foo.bar() }else{ return null } 2、 ?: 3、 as? 4、 !! 5、 ?