Interface IObject

Object interface. (Top)

interface IObject {
    equal(target: any): boolean;
    getTypes(): Function[];
    instanceOf(target: any): boolean;
}

Implemented by

Methods

  • Compare to objects.

    Parameters

    • target: any

      to compare

    Returns boolean

    Object is the same

  • Gets the constructors and proto constructors of the current object to the list.

    Returns Function[]

    List of constructors and parent constructors

  • Check if the object is an instance.

    Parameters

    • target: any

      to be checked

    Returns boolean

    instance or not