Nullable.toString

string toString()()

Gives the string "Nullable.null" if isNull is true. Otherwise, the result is equivalent to calling formattedWrite on the underlying value.

Parameters

writerA char accepting output range
fmtA FormatSpec which is used to represent the value if this Nullable is not null

Returns

A string if writer and fmt are not set; void otherwise.
string toString()() const

ditto

void toString(W)(ref W writer, scope const ref FormatSpec!char fmt) if (isOutputRange!(W, char))

ditto

void toString(W)(ref W writer, scope const ref FormatSpec!char fmt) if (isOutputRange!(W, char)) const

ditto