new Value(val, field)
Creates new Value instance.
Parameters:
Name | Type | Description |
---|---|---|
val |
* | the primitive value from the field cell. |
field |
string | Field | The field from which the value belongs. |
Members
value
Returns the underlaying wrapped value.
Methods
toString() → {string}
String representation of the underlying value. If there is a hint of string operations, this function gets called.
Returns:
Returns a human readable string of the field value.
- Type
- string
valueOf() → {*}
Returns the value of the field. If there is a hint of converting the value to integer, this gets called.
Returns:
Returns the field value.
- Type
- *