func LastChild(nd ki.Ki) ki.Ki {
	if nd.HasChildren() {
		ek, err := nd.Children().ElemFromEndTry(0)
		if err == nil {
			return LastChild(ek)
		}
	}
	return nd
}
LastChild returns the last child under given node, or node itself if no children
package walki
import (
	"github.com/goki/ki/ki"
)
func Last(nd ki.Ki) ki.Ki {
	var last ki.Ki
	nd.FuncDownMeFirst(0, nd, func(k ki.Ki, level int, d interface{}) bool {
		last = k
		return ki.Continue
	})
	return last
}