mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 20:41:24 +00:00
Remove Array.isArray test.
This commit is contained in:
@ -298,12 +298,6 @@ impl JsValue {
|
||||
unsafe { __wbindgen_is_object(self.idx) == 1 }
|
||||
}
|
||||
|
||||
/// Tests whether `Array.isArray(self)`.
|
||||
#[inline]
|
||||
pub fn is_array(&self) -> bool {
|
||||
unsafe { __wbindgen_is_array(self.idx) == 1 }
|
||||
}
|
||||
|
||||
/// Tests whether the type of this JS value is `function`.
|
||||
#[inline]
|
||||
pub fn is_function(&self) -> bool {
|
||||
|
Reference in New Issue
Block a user