Mohammad

This structure will return true only if the input is true, any other value 
including empty  will return false

<$set name=input value="true">
<$list filter="[<input>match[true]else[false]]" variable=returned>

</$list>
<$set>

Thus inside the list you can test
   <$list filter="[<returned>match[true]]">

   </$list>
   <$list filter="[<returned>match[false]]">

   </$list>

Regards
Tony

On Sunday, 4 August 2019 00:06:14 UTC+10, Mohammad wrote:
>
> While there were alot of request for simple conditional operations, it 
> seems the new TW 5.1.20 has this great feature
>
> See
>
>    - https://tiddlywiki.com/prerelease/#Conditional%20Operators
>
> I think this needs to be discussed and examples are needed for 
> clrification!
>
> So, interested people, please give their use cases questions here!
>
> -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/9a4f4c5c-dac6-472e-bb24-66a1beda1414%40googlegroups.com.

Reply via email to