concept relationship in category kotlin
appears as: relationship, relationships

This is an excerpt from Manning's book The Joy of Kotlin.
In this section, we’ll take a deeper look at functions. A function is primarily a mathematical concept. It represents a relationship between a source set (called the function domain) and a target set (called the function codomain). The domain and the codomain need not be distinct. A function, for example, can have the same set of integer numbers for its domain and its codomain.