Check if tag is UDT

If given just a tag path in a script, [Something]MyTag, what is the best way to check if this is a UDT instance?

system.tag.getConfiguration
image

Thanks, was curious if there was a more “direct” way,

You could probably read tagPath.typeId; if it’s null then it’s not an instance.

1 Like