Object - Kirix Documentation

Developer Resources

Object

Overview

A generic object class and container.

Constructor

Object()
Object(value : Primitive)

Arguments

value
A primitive boolean, number or string value.

Methods

Object.hasOwnProperty
Checks for the existence of an object property
Object.toLocaleString
Returns a string that represents the object.
Object.toString
Returns a string that represents the object.
Object.valueOf
Returns the 'primitive' value of the object.

Object.hasOwnProperty

function Object.hasOwn

Returns

Returns true of the object this has property property

Description

Checks for the existence of an object property. Object and prototype chains are not checked, therefore the method will only return true if the immediate object this has a a property

Object.toLocaleString

function Object.toLocaleString()

Returns

Returns a string that represents the object.

Description

Returns a string that represents the object. Identical to Object.toString().

Object.toString

function Object.toString()

Returns

Returns a string that represents the object.

Description

Returns a string that represents the object.

Object.valueOf

function Object.valueOf()

Returns

Returns the 'primitive' value of the object.

Description

Returns the 'primitive' value of the object.