Function mozjs::jsapi::JS::ReadableStreamIsReadable

source ยท
pub unsafe extern "C" fn ReadableStreamIsReadable(
    cx: *mut JSContext,
    stream: Handle<*mut JSObject>,
    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.