These functions are deprecated, please use is_call()
and its n
argument instead.
is_lang(x, name = NULL, n = NULL, ns = NULL) is_unary_lang(x, name = NULL, ns = NULL) is_binary_lang(x, name = NULL, ns = NULL) quo_is_lang(quo)
x | An object to test. If a formula, the right-hand side is extracted. |
---|---|
name | An optional name that the call should match. It is
passed to |
n | An optional number of arguments that the call should match. |
ns | The namespace of the call. If Can be a character vector of namespaces, in which case the call
has to match at least one of them, otherwise |
quo | A quosure to test. |