1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

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

Co-authored-by: clutterstack <clutterstack@gmail.com>
This commit is contained in:
Chris Nicoll 2021-04-29 08:14:28 -04:00 committed by GitHub
parent 792171c8fc
commit 41200ab6d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View File

@ -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[]]""">>

View File

@ -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">>