Gio.Seekable.prototype.can_seek

function can_seek(): Boolean {
    // Gjs wrapper for g_seekable_can_seek()
}
  

Tests if the stream supports the Gio.SeekableIface.

Returns

true if seekable can be seeked. false otherwise.