Skip to content

Commit

Permalink
Remove Array.isArray test.
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-uk1 committed Jan 16, 2019
1 parent fab9d1d commit f3dd386
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f3dd386

Please sign in to comment.