Try the following:
ChildClass.prototype instanceof ParentClass
More Related Contents:
- Use of .apply() with ‘new’ operator. Is this possible?
- How to extend a class without having to use super in ES6?
- Javascript Class Inheritance For Functions
- How does __proto__ differ from constructor.prototype?
- What techniques can be used to define a class in JavaScript, and what are their trade-offs?
- JavaScript Inheritance [closed]
- Angularjs – ng-cloak/ng-show elements blink
- Create an instance of a class in ES6 with a dynamic name? [duplicate]
- No ways to have class-based objects in javascript?
- “This” within es6 class method [duplicate]
- jQuery: Finding partial class name [duplicate]
- Use :hover to modify the css of another class?
- Can a JavaScript object have a prototype chain, but also be a function?
- Extend Javascript promise and resolve or reject it inside constructor
- JavaScript Extending Class
- How to inherit from the DOM element class
- Does JavaScript have classes?
- Javascript inheritance: call super-constructor or use prototype chain?
- Performing inheritance in JavaScript
- Re-associating an object with its class after deserialization in Node.js
- Class methods as event handlers in JavaScript?
- Workaround for accessing class type arguments in static method in Typescript
- Is event a global variable that is accessible everywhere inside the callback chain?
- Is John Resig’s Javascript inheritance snippet deprecated?
- Add a line of code to ALL functions
- Advantages of setting the “constructor” Property in the “prototype”
- ‘this’ is undefined in JavaScript class methods
- JavaScript getting an elements class without any libraries
- JS call static method from class
- ES6 – declare a prototype method on a class with an import statement