a function ofidiom
Definition of a function of
1 : something (such as a quality or measurement) that is related to and changes with (something else) Height is a function of age in children. It increases as their age increases.
2 : something that results from (something else) His personal problems are a function of his drinking.