Determine if an expression represents a constant value
is.constant(x)
x
Used by qplot to determine whether a value should be mapped or set
Hadley Wickham <h.wickham@gmail.com>