Nullable.opCast
bool opCast(T : bool)() constReturns true if this has a value, otherwise false.
Allows a Nullable to be used as the condition in an if statement:
if (auto result = functionReturningNullable())
{
doSomethingWith(result.get);
}