Conditional lapply
clapply.RdUse lapply if the input is a list and otherwise apply the
function directly to the input and wrap the result in a list.
The function is implemented as
lapplyclapply.RdUse lapply if the input is a list and otherwise apply the
function directly to the input and wrap the result in a list.
The function is implemented as