Skip to main content
Version: 8.1

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

    • Object value - A value to check if the quality is either bad or error.
  • Results

    • Boolean - True if the value's quality is either bad or error, 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.