If Condition
if(cond) then { ... } else { ... }
if(cond) then { ... }
int x = if(conf) then { 1+2; } else { 2*5; }
- Companion:
- object
trait Serializable
trait Product
trait Equals
class Expr
trait HasStaticTypeSafety
trait HasPromoteToType
trait HasEvalType
class Stat
class AST
class Object
trait Matchable
class Any