Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
titleSyntax

 qualityOf(value)

  • Parameters

Object value -  The value for which you want to find the quality.

  • Results

QualityCode Returns the code associated with the quality. For more information on quality codes, including a list of available codes, see Tag Quality Codes and Overlays.

Panel
titleExamples
Code Block
languageactionscript3
titleCode Snippet
qualityOf({[default]Sensor 1/Reading}) //Returns the quality code of the tag's value
Code Block
languageactionscript3
titleCode Snippet
//Use "=" to compare quality codes against constant names or integer codes

(qualityOf({[default]Sensor 1/Reading}) = {../Label.props.text}) //Returns "true" if the quality code matches a property

...