You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by "Jasper de Vries (Jira)" <ji...@apache.org> on 2020/02/10 16:19:00 UTC

[jira] [Created] (FREEMARKER-131) Add distinct built-in to sequence

Jasper de Vries created FREEMARKER-131:
------------------------------------------

             Summary: Add distinct built-in to sequence
                 Key: FREEMARKER-131
                 URL: https://issues.apache.org/jira/browse/FREEMARKER-131
             Project: Apache Freemarker
          Issue Type: Wish
            Reporter: Jasper de Vries


{code}
["a", "a", "b", "c", "c"]?distinct
{code}

should return:

{code}
["a", "b", "c"]
{code}

Order does not matter, you can always sort later if it does.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)