Eina provides a way to abstract the storage of generic values in an extensible and efficient way, aimed at simple data types.
Syntax
var obj = new efl.value(value);
Parameters
Return type
Creates a new value wrapper. It can be passed to the native functions and back.
Example usage
var myvalue = new efl.value(42);
Syntax
var unwrapped = valueobj.get();
Unwraps a value and retrieve its contents.
Syntax
valueobj.set(somevalue);
Replaces the wrapped value with the given value. You can set any of the supported values, there's no restriction on the value being of the type set on at the time of instantiation.