Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DataValue

Hierarchy

  • DataValue

Index

Properties

Optional formattedValue

formattedValue: undefined | string
returns

The value formatted according to the locale and the formatting applied to the field or parameter.

nativeValue

nativeValue: any
since

1.4.0

returns

The raw native value as a JavaScript type, which is one of string, number, boolean, or Date object. Please note that special values are returned as null. The actual special value can be found in formattedValue, which would be something like 'Null', or 'No-Access'. Using nativeValue can greatly simplify your error checking since all values will be their native type value or null.

value

value: any
since

1.2.0 Fixes the type to be the raw native value rather than a string.

returns

Contains the raw native value as a JavaScript type, which is one of string, number, boolean, or Date (as a string). Please note that special values, regardless of type, are always returned as a String surrounded by percent signs, such as '%null%', or '%no-access%'.