tests whether an object can be coerced to a operator, optionally an operator of 'types'.

can.operator(x, ...)

Arguments

x

object; to test

...

additional arguments

can.operator test whether an object can be coerced to an operator. Methods exist for name, function amd character classes

Value

logical