My script should control if the wire is connected to particular function. The script works easy but... crazy.
When types of Owners (nodes connected to the wire) are controlled, the most specific obtainable type is "Function". But which Function is it? (I need Close Reference but the same can be questioned about any other function). The only way I found is comparing icons as shown in the snippet. Isn't it little crazy?
There should be a better way but which?
Solved! Go to Solution.
Read the "Style" property of the Function class. It will tell you the non-localized English name of the function... "Add", "Match Pattern", etc.
Read the "Style"...
Yes, indeed, thank you. I would never guess...
Well, my English is not perfect