powered by
This will return FALSE for NULL and vectors of length bigger than 2.
is.scalar(x)
TRUE if the object is a scalar, FALSE otherwise.
TRUE
FALSE
Object to be checked.