Forum:FirstAnswer.IsThread

Version: - boolean  

Summary

Returns True if first answer is thread.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("Forum:FirstAnswer.IsThread")

Check if tag has a value

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

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("Forum:FirstAnswer.IsThread"); }

Outputting the template tag

<!--@Forum:FirstAnswer.IsThread-->

Check if boolean has a value

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