Extract function name or namespaced of a call
call_name(call) call_ns(call)
| call | Can be a call or a quosure that wraps a call. |
|---|
A string with the function name, or NULL if the function
is anonymous.
In rlang 0.2.0, lang_name() was deprecated and renamed to
call_name(). See lifecycle section in call2() for more about
this change.
#> [1] "foo"#> [1] "foo"#> [1] "matrix"#> NULL#> NULL#> NULL#> [1] "base"#> NULL