IOStream.isClosed

bool isClosed() nothrow

Checks if a stream is closed.

Returns

true if the stream is closed.