IOStream.isClosed

bool isClosed()

Checks if a stream is closed.

Returns

true if the stream is closed.