Nullable types function GetValueOrDefault(ADefault: T): T

While there us a function available on Nullable types of GetValueOrDefault it would be useful to haveone that enabled an actual value could be provided - along the lines of StrToIntDef.

function Nullable<T>.GetValueOrDefault(const ADefaultValue: T): T;
begin
  if FHasValue then
    Result := FValue
  else
    Result := ADefaultValue;
end;