Hi,

I'm trying to find a way to specifically check whether the current tiddler 
has a list field with no value.

I've found this in the documentation but the below filter does not seem to 
return any relevant tiddlers:

<$list filter="[<currentTiddler>has:list[emptyfield]]">

I'm not quite sure whether emptyfield 
<https://tiddlywiki.com/#has%20Operator%20(Examples)> itself is a valid 
operator or just a placeholder.

I've also tried the below filter but I guess that this filter works on the 
assumption that the list must exist and it's only assumed to exist if 
there's a value assigned to it:

<$list filter="[<currentTiddler>list[]]">

So, again no luck.

Is there a way to denote the state of emptiness in a filter? :) Or perhaps 
there's a better way of solving this without resorting to macro 
substitution too much? (I've tried that successfully with emptyValue but it 
overcomplicates things a bit).

Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ae962a6f-550e-412a-ade1-2da3f292f666%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to