[ External Interface | The ECLiPSe Built-In Predicates | Reference Manual | Alphabetic Index ]

peer(?Peer)

Checks or enumerates peer names
Peer
Peer name (atom or variable).

Calling Modes

Description

If Peer is a variable, this predicate enumerates the current peers (remote and embedded). If Peer is an atom, it checks if that is the name of a current peer.

Fail Conditions

Peer is not a current peer.

Resatisfiable

Yes.

Exceptions

(5) type error
Peer is neither an atom or a variable.

See Also

peer_get_property / 3