Function mozjs_sys::jsapi::JS::ReadableStreamIsReadable

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

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

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