ItemPublisher:Item.Field.Last

Version: - boolean  

Summary

Returns True if the item field is the last in the list. 

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("ItemPublisher:Item.Field.Last")

Check if tag has a value

@if(!bool.IsNullOrWhiteSpace(GetBoolean("ItemPublisher:Item.Field.Last"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("ItemPublisher:Item.Field.Last"); }

Outputting the template tag

<!--@ItemPublisher:Item.Field.Last-->

Check if boolean has a value

<!--@If Defined(@ItemPublisher:Item.Field.Last)--> Let's output this tag here: <strong><!--@ItemPublisher:Item.Field.Last--></strong> <!--@EndIf(@ItemPublisher:Item.Field.Last)-->