|On object||TMLContext "this"|
Tests if a <tml:foreach> tag is in its last iteration
This method tests either a <tml:foreach> tag whose tag id is
given as parameter or the nearest <tml:foreach> tag in which the
tag executing the script is contained.
However for making sense the tag whose ID is given should be a tag that is currently in its iteration loop. Therefor it must be a tag that contains the tag executing the script on some level.
Tag-ID (String, optional):
ID of the <tml:foreach> tag to test. Omit to use the nearest <tml:foreach> tag up the tag hierarchy
true if the tag is in its last iteration, false otherwise
|Allowed in script types||