Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

The duck type for _.isElement should use strict equality #734

Closed
jdalton opened this Issue · 0 comments

2 participants

@jdalton
Collaborator

The _.isElement check is a pretty weak inference, it could be made stronger by using === instead of ==.

  _.isElement = function(obj) {
    return !!(obj && obj.nodeType === 1);
  };
@jashkenas jashkenas closed this in ab31329
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.