• Checks if a class is a subclass of another class (at any level in the inheritance hierarchy) Note: This checks the entire inheritance chain, not just the immediate parent

    Parameters

    • PotentialSubclass: any

      The potential subclass constructor

    • PotentialAncestor: any

      The potential ancestor class constructor

    Returns boolean

    True if PotentialSubclass inherits from PotentialAncestor at any level