Any way to rise error when get the function instead run it

A common error:

a = myfunction;

instead of a = myfunction();
Any way to avoid this?
In case we have this function inside an object, could I to say something to the object to avoid return functions and require execution ?
Thanks in advance.


Source: New Questions

Leave a Reply