An onto function, also known as a surjective function, is a function where every element in the codomain is mapped to by at least one element in the domain. In other words, for a function $f: A \rightarrow B$, the function is onto if for every $b \in B$, there is
Show more…