Donate
Sandbox
Collaborate
Documentation
Downloads
Documentation
Prolog Predicate Reference
builtin
arg/3
arg/3
Check the argument of a term in the nth position.
Description
arg
(
+integer
,
+compound_term
,
?term
)
arg(N, Term, Arg)
is true if and only if the
Nth
argument of
Term
is
Arg
.
Implementation
Community
Site
Twitter
Github
npm
Documentation
Manual
Examples
Implementation details
Prolog Predicate Reference
Code
Custom bundle
Installation from npm
Source Code
Contact
Form contact
Collaborators
Contributors
tau.prolog @ gmail.com
© 2017 - 2025
José Antonio Riaza Valverde
Released under the
BSD-3 Clause license