isBadOrError
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.