dojox/mvc/getPlainValue (version 1.10)

Summary

Create a raw value from a dojo/Stateful object.

Recursively iterates the stateful value given, and convert them to raw ones.

Usage

getPlainValue(value,options);
Parameter Type Description
value Anything

The stateful value.

options dojox/mvc/getPlainValueOptions

The object that defines how plain value should be created from stateful value.

Returns:any | undefined

The converted value.

See the dojox/mvc/getPlainValue reference documentation for more information.

Method Summary

Methods

getPlainArray(a)

Returns the stateful version of the given array.

Parameter Type Description
a Anything[]

The array.

Returns:any | undefined

The converted array.

getPlainObject(o)

Returns the stateful version of the given object.

Parameter Type Description
o Object

The object.

Returns:object
getPlainValue(v)

Just returns the given value.

Parameter Type Description
v Anything
Returns:Anything
getType(v)

Returns the type of the given value.

Parameter Type Description
v Anything

The value.

Returns:any | string

The type of the given value.

Error in the documentation? Can’t find what you are looking for? Let us know!