Forum:LastThread.IsAnswer

Version: - boolean  

Summary

Returns True if the last thread is answer.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("Forum:LastThread.IsAnswer")

Check if tag has a value

@if(!bool.IsNullOrWhiteSpace(GetBoolean("Forum:LastThread.IsAnswer"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("Forum:LastThread.IsAnswer"); }

Outputting the template tag

<!--@Forum:LastThread.IsAnswer-->

Check if boolean has a value

<!--@If Defined(@Forum:LastThread.IsAnswer)--> Let's output this tag here: <strong><!--@Forum:LastThread.IsAnswer--></strong> <!--@EndIf(@Forum:LastThread.IsAnswer)-->