function has 23 distinct synonyms spread across 8 of its 10 senses. Each sense below keeps its own list, because a synonym belongs to a meaning and not to a word: swapping one sense's substitute into another sense's sentence is how a thesaurus makes writing worse. Its one recorded opposite is malfunction.
Counts are distinct word forms across every sense. A synonym that appears under three senses is counted once here and shown three times below, under each sense it belongs to.
(mathematics) a mathematical relation such that each element of a given set (the domain of the function) is associated with an element of another set (the range of the function)
what something is used for
“the function of an auger is to bore holes”
a relation such that one thing is dependent on another
“height is a function of age”
a formal or official social gathering or ceremony
“it was a black-tie function”
a vaguely specified social event
“the party was quite an affair”
a set sequence of steps, part of larger computer program
Synonyms, antonyms and the broader and narrower relations for function come from Princeton University’s WordNet. Full sources and licences.