Returns the syntactic arity of this object. If it has a getRelation applied to some arguments
(i.e. it's a Sentence, an Assertion, or a functional term), the arity is the number of
arguments. By convention, Cyc constants have a formula arity of 0.
the arity of this object, null if not a Cyc constant, functional term,
Sentence, or Assertion
Gets the object in argPosition argument position of this KbObject as an object
of type O. This method works for Sentences and Assertions, as well as non-atomic
KbTerms. However, because a constant has no "arguments", calling this method on a KbObject
representing a Cyc constant will result in a KbException.
O - the object type
argPosition - the argument position of the object returned