Well I don't know if there is something built into the language to do that simply. But you can jump to the definition of the proc symbol and get the implementation. You could add the noSideffects pragma to the function and then test if that ast still compiles with `system.compiles`.
- Checking in macro if proc has side effects or not cdome
- Re: Checking in macro if proc has side effects or not Krux02
