我已經安裝了一個叫做'SwiftProtobuf'的Cocoapod,但是它出現了這個錯誤'Integer literal'9223372036854775808'當存儲到'Int'時溢出錯誤發生在這個函數中: if n >= 0x8000000000000000 { // -Int64.min
if n > 0x8000000000000000 {
這裏的整體功能: inte
類似的問題:Java: check for null or allow exception handling 相關:How to deep check for "null" or "undefined" with JS? 假設a.foo()是一個屢試不爽的函數,返回要麼 undefined或具有功能的對象如{bar:()=>log('baz')}, 因此,編寫似乎是合乎邏輯的 a.foo().ba