I have defined custom macro that contains one argument. It can be a String or List<String>.
Is it possible to check if it is an array or not ?
Ok, I found out that there are available a few methods like is_....
Here is reference.
Valid one for my case is following test:
<#if value?is_enumerable></#if>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With