HED JavaScript Library
    Preparing search index...

    Function instanceOfConstructor

    • Determine whether an object is an instance of a given constructor.

      Parameters

      • object: any

        An object.

      • constructor: Function

        A constructor.

      Returns boolean

      Whether the object is an instance of the constructor.