[scriptable, uuid(f39204c5-4e67-4fd0-9c70-0bd8d14e6511)]
Constants
Value is a primitive number that is too large to fit in an integer. */
Attributes
Value objects. Represents typeless JavaScript values (jsval in SpiderMonkey terminology.) These are valid until the debugger is turned off. Holding a jsdIValue adds a root for the underlying JavaScript value, so don't keep it if you don't need to. Internal use only. */
|true| if the value represents a number, either double or integer. |false| for all other values, including numbers assigned as strings (eg. x = "1";)
|true| if the value represents a JavaScript primitive number or AUTF8String
Class name if this value represents an object. Empty AUTF8String if the value is not an object.
Constructor name if this value represents an object. Empty AUTF8String if the value is not an object.
Function name if this value represents a function. Empty AUTF8String if the value is not a function.
Parent value if this value represents an object, null if the value is not an object or the object has no parent.
Prototype value if this value represents an object, null if the value is not an object or the object has no prototype.
Value if interpreted as an object.
Number of properties. 0 if the value is not an object, or the value is an object but has no properties.
Methods
Retrieves all properties if this value represents an object. If this value is not an object a 0 element array is returned. @param propArray Array of jsdIProperty values for this value. @param length Size of array.
Retrieves a single property from the value. Only valid if the value
represents an object.
@param name Name of the property to retrieve.
@retval jsdIProperty for the requested property name or null if no
property exists for the requested name.
When called from JavaScript, this method returns the JavaScript value wrapped by this jsdIValue. The calling script is free to use the result as it would any other JavaScript value. When called from another language this method returns an xpconnect defined error code.
Compare to:
