Skip to main content

tablerowloop

Information about a parent tablerow loop.

PropertiesTypeDescription
firstnumberReturns 1 if the current iteration is the first. Returns 0 if not.
lastnumberReturns 1 if the current iteration is the last. Returns 0 if not.
indexnumberThe 1-based index of the current iteration.
index0numberThe 0-based index of the current iteration.
lengthnumberThe total number of iterations in the loop.
rindexnumberThe 1-based index of the current iteration, in reverse order.
rindex0numberThe 0-based index of the current iteration, in reverse order.
{
"first": 1,
"last": 0,
"index": 1,
"index0": 0,
"rindex": 4,
"rindex0": 3,
"length": 4
}