Next: mpg-ref-catch, Previous: mpg-ref-call_residue_vars, Up: mpg-bpr [Contents][Index]
callable/1
ISOcallable(+Term)
Succeeds if Term is currently instantiated to an atom or a compound term.
term
| ?- callable(a). yes | ?- callable(a(1,2,3)). yes | ?- callable([1,2,3]). yes | ?- callable(1.1). no
None.