allout-end-of-subtree is an interactive compiled Lisp function in `allout.el'.

(allout-end-of-subtree &optional CURRENT INCLUDE-TRAILING-BLANK)

Put point at the end of the last leaf in the containing topic.

Optional CURRENT means put point at the end of the containing
visible topic.

Optional INCLUDE-TRAILING-BLANK means include a trailing blank line, if
any, as part of the subtree. Otherwise, that trailing blank will be
excluded as delimiting whitespace between topics.

Returns the value of point.