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