isBadOrError
New in 8.1.10
This function is used by Ignition's Expression language.
Description​
Tests to see whether or not the given value's quality is either bad or error.
Syntax​
isBadOrError(value)
Parameters​
Type | Parameter | Description |
---|---|---|
Object | value | A value to check if its quality is either bad or error. |
Returns​
Boolean - Returns true if the value's quality is either bad or error, or false if it is not.
Examples​
Code Snippet
isBadOrError({path/to/myTag}) //Returns 1 if the value's quality is bad or error, 0 otherwise.