-
- Downloads
user: factor out illogical User.Info.superuser?/1.
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.
Please register or sign in to comment
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.