Forum:LastActiveThread.IsThread
Version: - booleanSummary
Returns True if last active thread is thread.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetBoolean("Forum:LastActiveThread.IsThread")
Check if tag has a value
@if(!bool.IsNullOrWhiteSpace(GetBoolean("Forum:LastActiveThread.IsThread"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
bool storedTag = GetBoolean("Forum:LastActiveThread.IsThread");
}
Outputting the template tag
<!--@Forum:LastActiveThread.IsThread-->
Check if boolean has a value
<!--@If Defined(@Forum:LastActiveThread.IsThread)-->
Let's output this tag here: <strong><!--@Forum:LastActiveThread.IsThread--></strong>
<!--@EndIf(@Forum:LastActiveThread.IsThread)-->