Logtalk reference manual
Conditional compilation directive: elif1/1

elif1/1

Description

elif1(Goal)

Supports embedded conditionals when performing conditional compilation. The code following the directive is compiled if Goal is true. The goal is subjected to goal expansion before execution.

Template and modes

elif(+callable)

Examples

:- elif(predicate_property(callable(_), built_in)).