in my template,
i loop over a variable that normally is an array, but sometime not.
the array is a feature list
normally it can be for example
features = ["red","hard","sweet"]
but sometime the variable can be a string, for example
feature = "There is no any particular feature".
when i loop over features, template rendering fails if feature is not an array.
i tried to understand if index exists, i tried to find in documentation and in the forum, but i don't find anything good.
Can someone help me?