2017  Kodetalk | Feedback | Privacy Policy | Terms | About
userimage

how to check list is empty in velocity framework

how to check list is empty in velocity framework
userimage
We can use below ways:

#if ($list.isEmpty())
or
#if ($list.size() == 0)
Answer is