我正在尝试检查我的整数或浮点值是否为空.但是抛出了类型错误.
尝试:
if foo == nil //Error: cannot convert nil to type float32 //all other methods I Tried also throw type errors too
integer go floating
floating ×1
go ×1
integer ×1