Condition functions
-
{if}: Checks if the value is not empty and notfalse(use{compare}for comparing) and returns the text depending on that- Arguments:
- value
- ifTrue = "✅"
- ifFalse = ""
- Example result:
test- Using input:
{if;test;test} - Using input:
{if;;fail;test}
- Using input:
- Arguments:
-
{compare}: Compares two values with each other and returns the text depending on the result- Arguments:
- value1
- operator
- value2
- ifTrue = "✅"
- ifFalse = ""
- Example result:
test- Using input:
{compare;a;==;a;test} - Using input:
{compare;a;!==;b;test} - Using input:
{compare;a;!=;a;fail;test} - Using input:
{compare;1;>;2;fail;test} - Using input:
{compare;1;<;2;test} - Using input:
{compare;1;>=;1;test} - Using input:
{compare;1;<=;1;test}
- Using input:
- Arguments: