new Value()
The wrapper class on top of the
primitive value of a
field.
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
- *