The priority of function can be applied to any object. The value returned is the integer value of the priority associated with the specified object. For example, if you have defined a key as follows:
red disabled key Warning1 at position 250 250
priority is 3
and then later specify in your program:
priority of Warning1
ESL returns the value 3.