Interface Object
interface Object {
constructor: Function;
hasOwnProperty(v: PropertyKey): boolean;
isPrototypeOf(v: Object): boolean;
propertyIsEnumerable(v: PropertyKey): boolean;
toLocaleString(): string;
toString(): string;
valueOf(): Object;
}
constructor: Function;
hasOwnProperty(v: PropertyKey): boolean;
isPrototypeOf(v: Object): boolean;
propertyIsEnumerable(v: PropertyKey): boolean;
toLocaleString(): string;
toString(): string;
valueOf(): Object;
}
Index
Properties
Methods
Methods
hasOwnProperty
Determines whether an object has a property with the specified name.
Parameters
- v: PropertyKey
A property name.
Returns boolean
- v: PropertyKey
isPrototypeOf
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
- v: Object
propertyIsEnumerable
Determines whether a specified property is enumerable.
Parameters
- v: PropertyKey
A property name.
Returns boolean
- v: PropertyKey
toLocaleString
Returns a date converted to a string using the current locale.
Returns string
toString
Returns a string representation of an object.
Returns string
valueOf
Returns the primitive value of the specified object.
Returns Object
Was this helpful?
The initial value of Object.prototype.constructor is the standard built-in Object constructor.