Interface Object

interface Object {
    constructor: Function;
    hasOwnProperty(v: PropertyKey): boolean;
    isPrototypeOf(v: Object): boolean;
    propertyIsEnumerable(v: PropertyKey): boolean;
    toLocaleString(): string;
    toString(): string;
    valueOf(): Object;
}

Properties

constructor: Function

The initial value of Object.prototype.constructor is the standard built-in Object constructor.

Methods

  • Determines whether an object has a property with the specified name.

    Parameters

    Returns boolean

  • Determines whether an object exists in another object's prototype chain.

    Parameters

    • v: Object

      Another object whose prototype chain is to be checked.

    Returns boolean

  • Determines whether a specified property is enumerable.

    Parameters

    Returns boolean

  • Returns a date converted to a string using the current locale.

    Returns string

  • Returns a string representation of an object.

    Returns string

  • Returns the primitive value of the specified object.

    Returns Object