Read a cell as a finite number, or report that it is a gap.
DataValue has no isNull flag: Tableau turns its special values into a
nullnativeValue. A gap is therefore null/undefined/NaN, and this
returns null for all three. Callers must not substitute a zero — a zero is
a value a chart drew, and inventing one puts a bar where the viz has none.
A Date is deliberately not converted: its epoch milliseconds are not a
number the chart drew. Use toDateValue for temporal cells.
Read a cell as a finite number, or report that it is a gap.
DataValuehas noisNullflag: Tableau turns its special values into anullnativeValue. A gap is thereforenull/undefined/NaN, and this returnsnullfor all three. Callers must not substitute a zero — a zero is a value a chart drew, and inventing one puts a bar where the viz has none.A
Dateis deliberately not converted: its epoch milliseconds are not a number the chart drew. Use toDateValue for temporal cells.