isblank operates on the output of the new *split* operator, which might be
"mytitle" "" "someothertitle" "" etc.
So there has to be a "" to determine if it is blank.
Most filter operators do not produce "". If something is "", it puts out NO
output -- not even ""
The operator getindex[xx] produces NO output, and so there is nothing to
evaluate. You get the same result whether you don't use is[blank] .
So the upshot is, that is[blank] is mostly useful in the context of the
split and splitreg operators.
On Tuesday, March 3, 2020 at 6:05:18 AM UTC-8, Mohammad wrote:
>
>
> - In tiddlywiki.com create a new tiddler titled as *dataTid *and set
> its type as application/json with below contents
>
> {
> "xx": "",
> "yy": "hello"
> }
>
>
>
> - in another tiddler issue the below command
>
> <$list filter="[[dataTid]getindex[xx]is[blank]]" emptyMessage="the index
> is NOT blank">
> The index is BLANK
> </$list>
>
> You get the wrong result. Why is[blank] does not detect the blank value of
> xx?
>
>
> --Mohammad
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/cb8ef0f2-0cde-470c-82aa-a8d3a385024a%40googlegroups.com.