Function script::dom::bindings::import::module::jsapi::JS::ReadableStreamReaderIsClosed

source ยท
pub unsafe extern "C" fn ReadableStreamReaderIsClosed(
    cx: *mut JSContext,
    reader: Handle<*mut JSObject>,
    result: *mut bool,
) -> bool
Expand description

Returns true if the given ReadableStream reader is locked, false otherwise.

Asserts that |reader| is a ReadableStreamDefaultReader or ReadableStreamBYOBReader object or an unwrappable wrapper for one.