Returns the primitive javascript value from the Value.

See also $, $val, $value.




In a if-else statement:

if($('Admin.Interview.exportLog.destination').empty().value()) {
  // true
} else {
  // false

With Geo value types, value() returns arrays of decimals:

// Point as a array of decimals: longitude and latitude
// Point longitude
// Point latitude

// LineString as a array of points (i.e. array of array of decimals)
// Latitude of the first point in the line

// Polygon as a array of lines (i.e. array of array of array of decimals)
// Number of lines in the polygon
// Number of points in the first line of the polygon
// First point of the first line (array of decimals: longitude and latitude)