Class Arg

  • All Implemented Interfaces:
    KnowledgeBaseConsumer, PredicateFactory

    public final class Arg
    extends AbstractSingleResultPredicate
    arg(N,T,A) - allows access to an argument of a structure.

    arg(N,T,A) provides a mechanism for accessing a specific argument of a structure. arg(N,T,A) succeeds if the Nth argument of the structure T is, or can be assigned to, A.