Determine whether a composition is non-decreasing or non-increasing in an index.
is_incr(object, idx)
is_decr(object, idx)
# S4 method for class 'Atom'
is_incr(object, idx)
# S4 method for class 'Atom'
is_decr(object, idx)
A Atom object.
An index into the atom.
A logical value.