-
code
and try condition with total_part variable:
but give error:
how to using content block in conditions? #total_part shows as 0, but in condition #total_part not equal [0] or 0 or "0". |
Beta Was this translation helpful? Give feedback.
Answered by
l0wx
Jun 6, 2024
Replies: 3 comments
-
Cf. #3683 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MrBoriska
-
Cf. #3895 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @MrBoriska , #context {
let total_part = part_count.final().at(0)
if total_part >= 0 [#total_part parts]
} The difference is, that the counter's value is not converted to content (until the second line, in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cf. #3683 (comment)