Builds a comparison operator for use inside attribute functions such as age,
valueAsNumber, startDate, etc.
Accepts integer, numeric, or Date inputs; returns the matching opAttribute type.
gte(x)
# S4 method for integer
gte(x)
# S4 method for numeric
gte(x)
# S4 method for Date
gte(x)Comparison bound (integer, numeric, or Date).
An opAttribute for use inside attribute constructor functions.
# Age 18 or older
conditionOccurrence(cs(1L, name = "test"), age(gte(18L)))
#> <Capr ConditionOccurrence Query> test