Skip to content

instanceof Operator

Shane Brinkman-Davis Delamore edited this page Mar 29, 2018 · 2 revisions

instanceof - for testing if an object is descended from another object

This is the standard JavaScript instanceof operator. Turns out, it works much like CaffeineScript's is Operator, except that it also looks up the inheritance tree.

Clone this wiki locally