Function script::dom::bindings::import::module::jsapi::ReadableStreamIsLocked

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

Returns true if the given ReadableStream is locked, false if not.

Asserts that |stream| is a ReadableStream object or an unwrappable wrapper for one.