GetLastInRange (FUN)ΒΆ
FUNCTION GetLastInRange : IModule
Returns the last element of a given range. Returns 0 if (and only if) the last element of the range is 0 or the range is empty. Note: after the call, the range will be empty.
- InOut:
Scope
Name
Type
Comment
Return
GetLastInRange
Input
rng
The forward range (i.e. AncestorRange, DepthFirstRange or SiblingRange) for which the last element shall be returned for