Collects the leaves of the expression tree. With types, only atoms whose
type is listed are returned (for example "Symbol", "Integer",
"Rational", "Constant", or "Function" to collect function
applications).
Collects the leaves of the expression tree. With types, only atoms whose
type is listed are returned (for example "Symbol", "Integer",
"Rational", "Constant", or "Function" to collect function
applications).