Solitude's template looks OK, is just the calling method was a shortcut for your bool returning example. Two things:
* compare apples to apples: if (x := yes()) == y: # where y is the same type as returned by yes() Run * don't forget the enclosing () for your := template call as the parser cannot guess your interntion: if (x := yes()) == y: # compares x to y if x := yes() == y: # x is now bool as := takes two params: x and yes() == y Run