Fix #5310: docs for unique[] filter operator (#5651)

Co-authored-by: clutterstack <clutterstack@gmail.com>
tiddlywiki-com
Chris Nicoll 2021-04-29 08:14:28 -04:00 zatwierdzone przez GitHub
rodzic 792171c8fc
commit 41200ab6d7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 18 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,8 @@
created: 20210216203925301
modified: 20210217003209935
tags: [[unique Operator]] [[Operator Examples]]
title: unique Operator (Examples)
To remove duplicate entries from a list where deduplication has been prevented using the [[filter run prefix|Filter Expression]] `=`:
<<.operator-example 1 """=[[E]] =[[A]] =[[B]] =[[C]] =[[C]] =[[D]] =[[C]] +[unique[]]""">>

Wyświetl plik

@ -0,0 +1,10 @@
caption: unique
op-input: a list of items
op-output: a list of unique items
op-parameter: ignored
op-purpose: remove all duplicate items from the current list
tags: [[Filter Operators]] [[Order Operators]] [[Listops Operators]]
title: unique Operator
type: text/vnd.tiddlywiki
<<.operator-examples "unique">>