funcOrVal verify if call of function is undefined