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