I'm kinda new with TinyButStrong, and I would like to know how I can check if a boolean variable is 0 or 1 ? For example, I have this:
$TBS->MergeBlock('tests', $tests);
And $tests have a variable call 'activated' which is a boolean. So, in my .docx document, I would like to write the string 'Activated' if the variable is set to true(1), and 'non-activated' if it set to false(0).
Which syntax should I use in the .docx document ?
Thanks in advance.