可能重复: 如何在scala中编写正确的null安全合并运算符?
??C#中的运算符的Scala等价物是什么?
??
例:
string result = value1 ?? value2 ?? value3 ?? String.Empty;
c# scala
c# ×1
scala ×1