Can has? `def admin?(user_id: String.t()) :: boolean do`

You can always achieve the custom python-like (or whatever else-like) syntax with a bit of metaprogramming.

1 Like