Is it possible to write a full fledged Javascript function inside sandbox

I think you can use this post there is a function with 2 conditions

parseInt ("${a}") > 5 && parseInt ("${a}") < 15

I think you can use this example.

1 Like