[semidet]prolog_bool_to_json(+Prolog,
-JSON)JSON is the JSON boolean for Prolog. It
is a flexible the Prolog notation for thruth-value, accepting
one of true
, on
or 1
for @true
and one of false
, fail
, off
or 0
for @false.
- Errors
- instantiation_error if Prolog is unbound.