[ Type Testing | Reference Manual | Alphabetic Index ]


Succeeds if Term is an external data handle.
Prolog term.


Used to test whether Term is a handle for external data. Such handles can be created by external predicates using the ECLiPSe C or C++ API.

Modes and Determinism

Fail Conditions

Fails if Term is not an external data handle


    ?- bag_create(B), is_handle(B).
    B = 'BAG'(16'edc90b18)
    Yes (0.00s cpu)

    ?- is_handle(_).
    No (0.00s cpu)

    ?- is_handle(42).
    No (0.00s cpu)

See Also

is_event / 1, type_of / 2, xget / 3, xset / 3