simple conditional expression
常见例句
- As in most every language, Scala’s if evaluates a conditional expression, then proceeds to a block if the result is true or branches to an alternate block if the result is false. A simple example
和大多數語言一樣,Scala 的if 測試一個條件表達式,然後根據結果爲真或假來跳轉到響應語句塊中。 返回 simple conditional expression