R infix function with one parameter only - docstring workaround

前端 未结 0 752
眼角桃花
眼角桃花 2021-02-18 22:52

Is it possible to do something like:

`%?%` <- function(fun) docstring::docstring(fun)

so that i can use it like:

%?% my_functio         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题