Does "decoration" have to be visual?

Decoration is not always visual. It can refer to any kind of ornamentation, as in music (appoggiatura, trill, grace notes, etc.), spoken language, and so forth.


No.

"Decoration" does not have to be visual, though in most cases it is.

These two helper functions are decorations for that main function.