current_prolog_flag/2

"current_prolog_flag(? Flag,- Value" ) is iso

Obtain the value for a YAP Prolog flag. Equivalent to calling yap_flag_50 "yap_flag/2" with the second argument unbound, and unifying the returned second argument with Value.