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