Tony
You are right, see below table from : https://tiddlywiki.com/#has%20Operator

purpose filter the input by field existence
input <https://tiddlywiki.com/#Filter%20Syntax> a selection of titles 
<https://tiddlywiki.com/#Title%20Selection>
suffix <https://tiddlywiki.com/#Filter%20Step> F =  NEW IN: 5.1.14 optionally, 
the name of a field <https://tiddlywiki.com/#TiddlerFields>
parameter <https://tiddlywiki.com/#Filter%20Parameter> F = the name of a 
field <https://tiddlywiki.com/#TiddlerFields>
output *without suffix* or with *suffix value*
» those input tiddlers in which field F has a non-empty value
*suffix field*
» those input tiddlers in which field F exists
! output *without suffix* or with *suffix value*
» those input tiddlers in which field F does *not* exist or has an empty 
value
*suffix field*
» those input tiddlers in which field F does *not* exist


Cheers
Mohammad

On Thursday, January 10, 2019 at 11:58:04 AM UTC+3:30, TonyM wrote:
>
> Mohammad,
>
> You have answered your own question. That is the difference. Both return 
> nothing if a field does not exist, thus emptyValue or emptyMessage return 
> values. With this behaviour you can test all three posibilities. The 
> field[] operator is not so comprehencive.
>
>
> I think of has[fieldname] as has value, and 
> has:field[fieldname] as has field or value.
>
>
> If the fieldname does not exist neither of the above work
>
>
> Using the Not (need to test)
>
>
> !has[fieldname] No fieldname at all
> !has:field[fieldname] No fieldname at all
>
>
> Regards
> Tony
>
>

-- 
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/9d65029c-d27b-441e-8cbe-4cd886f9310a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to