powered by
Find a function
get_fun(fn, default = identity)
A function
A function name, either a character string or an unquoted function name, with or without colons.
If fn is NULL, the default function is returned. Defaults to identity().
fn
NULL
default
identity()
get_fun(plu_ral) get_fun(plu::ral) get_fun("plu_ral") get_fun("plu::ral") get_fun(NULL) get_fun(NULL, default = plu_ral)
Run the code above in your browser using DataLab