Paragraph

A function is a rule that assigns each element of a set, called the domain, to exactly one element of a second set, called the codomain.

in-context