HasVoidValues (FPScript)
Returns TRUE if a data set contains void values.
Syntax
HasVoidValues(DataSet)
The syntax of the HasVoidValues function consists of the following parts:
Part |
Description |
---|---|
DataSet |
The data set to be checked for void values. All data structures are allowed. All data types are permitted. |
Remarks
As the result the function returns a scalar value of data type Boolean value.
For signals, signal series and space curves, all components are checked. Void values can only occur in floating point data types, including the time span and calendar time data types. For all other data types, the function always provides FALSE. For complex numbers, it suffices if either the real part or the imaginary part is void.
If the argument is a list, then the function is executed for each element of the list and the result is also a list.
Available in
FlexPro View, Basic, Professional, Developer Suite
Examples
HasVoidValues({1, 3, 5}) |
Results in FALSE. |
HasVoidValues(Empty) |
Results in FALSE. |
HasVoidValues("?") |
Results in FALSE. |
HasVoidValues({1, ?, 3}) |
Results in TRUE. |
HasVoidValues((1, ?)) |
Results in TRUE. |