> 'tiddler.tags.contains(context.inTiddler.title && "AnotherTag") '
the .contains(...) function takes one parameter, a text string to
match (in this case, a tag value), and results in a boolean (TRUE/
FALSE) value.
Thus, to check for more than one tag, you would write:
'tiddler.tags.contains(context.inTiddler.title) &&
tiddler.tags.contains("AnotherTag")'
alternatively, you could use the .containsAll(...) function, which
takes an *array* of comma-separated text strings to match
'tiddler.tags.containsAll([context.inTiddler.title,"AnotherTag"])'
-e
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---