top | item 5795243

(no title)

supersillyus | 12 years ago

Yes, in the same sense that any language with first class functions can.

So, like:

   var SomeFunc = RequireAuth(func(...) {
        ...
   });
However, there's no language-level support, so you can't decorate methods as easily as you might in a language like Python.

discuss

order

No comments yet.