src/swipl-devel/packages/xpce/man/refmanual/md/bool.md

class bool {#class-bool}

Class bool defines represents PCE's two boolean constants: @on and @off. These objects are protected (see ->protect). No other boolean constants can be created.

@tbd Methods for logical expressions are still lacking.

@see class constant

Send methods {#class-bool-send}

Get methods {#class-bool-get}



Try the rswipl package in your browser

Any scripts or data that you put into this service are public.

rswipl documentation built on June 16, 2026, 5:07 p.m.