Forum:LastReply.IsAnswer

Version: - boolean  

Summary

Returns True id the last reply is answer.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("Forum:LastReply.IsAnswer")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if boolean has a value

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