From f3dd38690ad4498280c707aedc4a3bb2b9470d4d Mon Sep 17 00:00:00 2001 From: Richard Dodd Date: Fri, 11 Jan 2019 21:17:52 +0000 Subject: [PATCH] Remove Array.isArray test. --- src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index fc35b0db..c0c2c519 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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 {