Child pages
  • Object

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

servoy sSummary12%30%58%height: 30px;3Methods SummaryDetermine whether the object has the specified property as its own property (as opposed to inheriting it).Checks if an object exists in another object's prototype chain.Indicates whether the specified property is enumerable.Returns a string representing the object.Returns a string representing the specified object.Returns the primitive value of the specified object.

functionservoy sDetail2100%height:30px2Methods DetailshasOwnPropertyname

hasOwnProperty(prop)

dessIndent
Determine whether the object has the specified property as its own property (as opposed to inheriting it).
prs

Parameters

sIndentpropThe name of the property to test.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowisPrototypeOfname

isPrototypeOf(object)

dessIndent
Checks if an object exists in another object's prototype chain.
prs

Parameters

sIndentobjectThe object whose prototype chain will be searched.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
propertyIsEnumerablename

propertyIsEnumerable(prop)

dessIndent
Indicates whether the specified property is enumerable.
prs

Parameters

sIndentpropThe name or symbol of the property to test.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
toLocaleStringname

toLocaleString()

dessIndent
Returns a string representing the object. This method is meant to be overriden by derived objects for locale-specific purposes.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
toStringname

toString()

dessIndent
Returns a string representing the specified object.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
valueOfname

valueOf()

dessIndent
Returns the primitive value of the specified object. By default, the valueOf method is inherited by every object descended from Object.
Every built-in core object overrides this method to return an appropriate value.
If an object has no primitive value, valueOf returns the object itself.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow