Is there a simple way to do if-elif-elif in an eval statement? Support 3 or 4 tests

Support 3 or 4 tests

Here’s an example:

vendor_direction == 'in' ? 'inbound' : (vendor_direction == 'out' ? 'outbound' : direction)
2 UpGoats