Geetha
06/24/2021, 10:42 AMYatin Karia
06/24/2021, 10:51 AMYatin Karia
06/24/2021, 10:51 AMY Ribacoff
06/24/2021, 2:16 PMDavid B
06/24/2021, 9:36 PM<#list check.apply[0..*15] as apply>
</#list>
which is an example of Sequence slicing
t(David B
06/24/2021, 9:36 PM0..*15
means from 0th element with length of 15, and won't throw an error if there are less than 15 elements.
As opposed to 0..14
which slices from 0th to 14th element and would error if <15 elementsGeetha
06/25/2021, 6:43 AMGeetha
06/25/2021, 6:43 AMGeetha
06/25/2021, 7:14 AMGeetha
06/25/2021, 7:14 AMDavid B
06/27/2021, 9:55 PM<#if check.apply?has_content && check.apply?size lte 14>
(size of 14 == 15 elements)