But the result of the expression is not a boolean, its an object and it gets assigned to a local template variable named result , and so the description property gets printed to the screen as expected.