Flatten to a vector

Okay. Thank you.
I don’t need to unpack the rationali.
I was wondering how the function could be so “smart” that it stops at the right point.
So, conceptually, the recursive function (with default parameters) unpacks everything that isn’t Real?