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

constructor: Function

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

Methods

hasOwnProperty

  • hasOwnProperty(v): boolean
  • Determines whether an object has a property with the specified name.

    Parameters

    Returns boolean

isPrototypeOf

  • isPrototypeOf(v): 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

propertyIsEnumerable

  • propertyIsEnumerable(v): boolean
  • Determines whether a specified property is enumerable.

    Parameters

    Returns boolean

toLocaleString

  • toLocaleString(): string
  • Returns a date converted to a string using the current locale.

    Returns string

toString

  • toString(): string
  • Returns a string representation of an object.

    Returns string

valueOf

  • valueOf(): Object
  • Returns the primitive value of the specified object.

    Returns Object

Settings

Member Visibility

On This Page

AltStyle によって変換されたページ (->オリジナル) /