arg_3Version: NextOn this pagearg/3 Description arg/3 is a predicate that accesses the Nth argument of a compound term. Signature arg(+N, +Term, ?`arg/3`) Where: N is the argument index (1-based). Term is the compound term. arg/3 is the Nth argument of Term.