• Returns whether the target is or has the given prototype walking up the prototype chain.

    Type Parameters

    • T extends new (...args: any[]) => any

      Prototype class / constructor.

    Parameters

    • target: new (...args: any[]) => any

      Any target class / constructor function to test.

    • Prototype: T

      Class / constructor function to find.

    Returns target is T

    Target matches prototype.