<< Click to Display Table of Contents >>
IsQualityGood |
IsQualityGood(TagName)
Indicates whether the quality of a Tag is good or not. The TagName parameter is the name of a Tag. The return data type of this function is a Boolean that returns true if Tag's quality is good and false if Tag's quality is bad. The next code contains an example of using this function.
var isTagQualityGood = IsQualityGood("demo:TagInternal1");
if (isTagQualityGood == false) {
LogMessage("Tag with bad quality!");
}