In the server module:
def registered_functions() -> list:
from anvil._server import registrations # dont use _functions it's bad mkay
# print(registrations)
return list(registrations.keys())
ymmv, yadda yadda yadda see here:
This list might not be comprehensive, it might only be what the sever module has registered that does not include uplinks, I am not sure. You would have to test.