mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-16 14:02:06 +03:00
Remove Array.isArray test.
This commit is contained in:
parent
fab9d1dff6
commit
f3dd38690a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user