On Fri, 1 Sep 2017 10:13:55 -0700, Bobby Holley wrote:
On Fri, Sep 1, 2017 at 9:59 AM, Botond Ballo wrote:
On Fri, Sep 1, 2017 at 12:11 PM, Ehsan Akhgari wrote:

How about this slight variation:

HTMLEmbedElement.isInstanceOf(obj)

instead of "is"?

Isn't that backwards, though? HTMLEmbedElement isn't an instance of 'obj', 'obj' is an instance of HTMLEmbedElement :)

hasInstance?

FWIW, Java has <Class>.isInstance(obj):

https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html#isInstance-java.lang.Object-

--
Stanimir
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to