is_closed


Description:

public bool is_closed ()

Checks if a stream has been closed.

This only indicates whether the I/O stream has been closed at the top level by calling [method@Gio.IOStream.close]. If the underlying input and output streams have been closed separately, this method will still return false.

Parameters:

this

a IOStream

Returns:

true if the stream has been closed; false otherwise