commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henrib <>
Subject Re: [jexl] Test for existence
Date Fri, 02 Mar 2012 11:48:34 GMT
Hi Jeff,
Using the 'elvis' operator should allow what you seek; in strict mode, it
allows non existent vars expressions to be handled without errors. Something
like 'foo?:false' might do for you use case.
Check on ternary
Let us know if this fits your purpose,

View this message in context:
Sent from the Commons - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message