0015d43e13
any actual callee will be dealing with a User struct to begin with, so just check the child struct inside User.superuser?/1 with pattern matching. |
||
---|---|---|
.. | ||
info.ex |
0015d43e13
any actual callee will be dealing with a User struct to begin with, so just check the child struct inside User.superuser?/1 with pattern matching. |
||
---|---|---|
.. | ||
info.ex |