Logtalk reference manual
Built-in predicate: current_logtalk_flag/2
Contents > Reference Manual > Built-in Predicates > current_logtalk_flag/2

## current_logtalk_flag/2

#### Description

    current_logtalk_flag(Flag, Value)

Enumerates, by backtracking, the current Logtalk flag values.

#### Template and modes

    current_logtalk_flag(?atom, ?atom)

#### Errors

Flag is neither a variable nor an atom:
  `type_error(atom, Flag)`
Flag is an atom but an invalid flag:
  `domain_error(flag, Value)`

#### Examples

    | ?- current_logtalk_flag(source_data, Value).

#### See also

`create_logtalk_flag/3`, `set_logtalk_flag/2`