...meArgument)一样,你可以在可选方法名称后加上?来检查该方法是否被实现。可选方法和可选属性都会返回一个可选值(optional value),当其不可访问时,?之后语句不会执行,并返回nil。
基于26个网页-相关网页
However, this is an optional value and is not required for actually displaying the event on a calendar.
不过,这是一个可选值,当实际在日程表上显示事件时这不是必需的。
In both cases, the value of the whole expression is an optional value.
在这两种情况下,整个表达式的值是一个可选值。
To properly appraise the optional value, the optional pricing model should be modified to account for the value leaking losses of real assets.
只有针对标的资产的价值漏损对期权定价模型进行相应的调整,才能正确估计期权的价值。
应用推荐