See the respective test specification for examples.
\ref{_first-nonempty_} will yield the result of the first toplevel expression that is not an empty vector. This template yields an empty vector if no non-empty vectors are found. Its helper function is \ref{_first_nonempty}, which recurses through each vector element until a non-empty vector is encountered.