Swift 相关

Swift获取值的类型

2020-07-23  本文已影响0人  xxxixxxx

使用 type(of:) 函数


let a = type(of:"😄")

print(a) //String

直达文档

上一篇 下一篇

猜你喜欢

热点阅读