Ask for a symbol's property

ask(x, property)

Arguments

x

symbol

property

property, e.g. 'positive'

Examples

if (has_sympy()) {
  x <- symbol("x", positive = TRUE)
  ask(x, "positive")
}
#> [1] TRUE