We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f2f2d72 + ae9c5a8 commit 8abe0f9Copy full SHA for 8abe0f9
src/js.rs
@@ -301,10 +301,9 @@ extern "C" {
301
#[wasm_bindgen(constructor)]
302
pub fn new(length: u32) -> ArrayBuffer;
303
304
- /// The `slice()` method returns a new `ArrayBuffer` whose contents
305
- /// are a copy of this `ArrayBuffer`'s bytes from begin, inclusive,
306
- /// up to end, exclusive.
307
- ///
+ /// The `isView()` method returns true if arg is one of the `ArrayBuffer`
+ /// views, such as typed array objects or a DataView; false otherwise.
+ ///
308
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView
309
#[wasm_bindgen(static_method_of = ArrayBuffer, js_name = isView)]
310
pub fn is_view(value: JsValue) -> bool;
0 commit comments