Thread
:
Template: Matching an entire list
View Single Post
04-11-2021, 11:08 AM
#
4
chaley
Grand Sorcerer
Posts: 12,461
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
This template solves the original problem, to test if a book has epub as its only format:
Code:
program: if $formats == 'epub' then 'foobar' fi
This works because a list of 1 item has no separating commas.
chaley
View Public Profile
Visit chaley's homepage!
Find More Posts by chaley
Track Posts by chaley via RSS