Logtalk entity directive: calls/1

contents > reference manual > directives

## `calls/1`

#### Description

>     calls(Protocol)
>     calls(Protocol1, Protocol2, ...)
>     calls([Protocol1, Protocol2, ...])

> Declares the protocol(s) that are called by predicates defined in an object or category.

#### Template and modes

>     calls(+protocol_identifiers)

#### Examples

>     :- calls(comparingp).

previous | glossary | next
Copyright © Paulo Moura — Logtalk.org