What type of function is one in which the action to be taken for true or false case includes yet another IF function?

A function inside another function is a nested function.