gradum-kit - v0.1.0
    Preparing search index...

    Function getConstructorChain

    • Function

      getConstructorChain

      Parameters

      • object: object

        The instance or class to walk.

      Returns any[]

      The constructors from nearest to furthest, stopping before Object.

      List the constructors an object inherits from, nearest first. Where getPrototypeChain yields prototypes, this yields the classes themselves.