How we will distinguish between one one and many one function

It is also explained as what is the other name of one one function that is one one function is also named as injective function whereas many one function is also known as surjective function

A  function as both one one and onto then it is also known as bijective function