Gio.InputStream.prototype.is_closed

function is_closed(): Boolean {
    // Gjs wrapper for g_input_stream_is_closed()
}
  

Checks if an input stream is closed.

Returns

true if the stream is closed.