How can I check if a variable is defined in Thymeleaf?
Something like this in Javascript:
if (typeof variable !== 'undefined') { }
or this in PHP:
if (isset($var)) { }
Is there an equivalent in Thymeleaf?
Aucun commentaire:
Enregistrer un commentaire