Function mozjs_sys::jsapi::JS::ReadableStreamReaderIsClosed
source ยท pub unsafe extern "C" fn ReadableStreamReaderIsClosed(
cx: *mut JSContext,
reader: HandleObject,
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.