mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-16 22:11:45 +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 }
|
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`.
|
/// Tests whether the type of this JS value is `function`.
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn is_function(&self) -> bool {
|
pub fn is_function(&self) -> bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user