Skip to main content
Skip to main content

Object

admin/discounts.internal.Object

Properties

constructorFunctionRequired
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

vPropertyKeyRequired
A property name.

Returns

boolean

booleanboolean

isPrototypeOf

isPrototypeOf(v): boolean

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

Parameters

vObjectRequired
Another object whose prototype chain is to be checked.

Returns

boolean

booleanboolean

propertyIsEnumerable

propertyIsEnumerable(v): boolean

Determines whether a specified property is enumerable.

Parameters

vPropertyKeyRequired
A property name.

Returns

boolean

booleanboolean

toLocaleString

toLocaleString(): string

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

Returns

string

stringstring

toString

toString(): string

Returns a string representation of an object.

Returns

string

stringstring

valueOf

valueOf(): Object

Returns the primitive value of the specified object.

Returns

Object

Object() => any(value: any) => anyRequired
Was this section helpful?