is_infix: Test Whether a Symbol is an Infix Operator

View source: R/utils-nse.R

is_infixR Documentation

Test Whether a Symbol is an Infix Operator

Description

Test Whether a Symbol is an Infix Operator

Usage

is_infix(name)

Arguments

name

(symbol or name or string)
a possible reference to an infix operator to check.

Value

A logical indicating whether the name is the name of an infix operator.

is_infix(as.name("|"))
is_infix("|")
is_infix("c")

mmrm documentation built on Oct. 7, 2024, 1:14 a.m.