This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

is Operator

 7th November 2020 at 11:09am
purposefilter the input by fundamental category
inputa selection of titles
parameterC=a category
outputthose input tiddlers that belong to category C
! outputthose input tiddlers that do not belong to category C

Learn more about how to use Filters

The parameter C is one of the following fundamental categories:

CategoryMatches any tiddler title that...
currentis the current tiddler
imagehas an image ContentType
binaryhas a binary ContentType
missingdoes not exist (other than possibly as a shadow tiddler), regardless of whether there are any links to it
orphanhas no hard links to it
shadowis a shadow tiddler, regardless of whether it has been overridden with a non-shadow tiddler
systemis a system tiddler, i.e. its title starts with $:/
tagis in use as a tag
tiddlerexists as a non-shadow tiddler
variableIntroduced in v5.1.20 exists as a variable (whether or not that variable has a non-blank value)
blankIntroduced in v5.1.20 is blank (i.e. is a zero length string)
draftIntroduced in v5.1.23 is a draft of another tiddler. Synonym for [has[draft.of]]

If C is anything else an error message is returned. Introduced in v5.1.14 if C is blank, the output is passed through unchanged (in earlier versions an error message was returned).

!is[tiddler] is a synonym for is[missing], and vice versa.

When is[missing] is the first operator in a run, its output is always empty. And when is[shadow] comes first, it outputs only those shadow tiddlers that have been overridden. This is because the initial input to a run contains only non-shadow tiddlers.

Tip
Use has[title] to match any tiddler title that is either a tiddler or a shadow tiddler.

The all operator is similar to is, but its scope is the whole wiki.

Examples