I want to check one input parameter which is function object or not. The erlang module’s is_function and fun_info are not ok, because they don’t the function is really exported by the module or not.
I want to check one input parameter which is function object or not. The
Share
I’m not sure if I understood your question correctly, but if you’re trying to understand whether a function is exported or not from a given module, you can use the erlang:function_exported/3 function: