How to access threshold value from Threshold expression?

If I’m using a Threshold expression, the $values variable will contain the result of it (either zero or one), but I can’t find a way to retrieve the actual threshold value that was used to evaluate the expression.

This would come in handy while templating annotations so I can add the threshold value that triggered the alert in a notification.