[][src]Function clingo_sys::clingo_configuration_map_has_subkey

pub unsafe extern "C" fn clingo_configuration_map_has_subkey(
    configuration: *const clingo_configuration_t,
    key: clingo_id_t,
    name: *const c_char,
    result: *mut bool
) -> bool

Query whether the map has a key.

@pre The @link clingo_configuration_type() type@endlink of the entry must be @ref ::clingo_configuration_type_map. @note Multiple levels can be looked up by concatenating keys with a period. @param[in] configuration the target configuration @param[in] key the key @param[in] name the name to lookup the subkey @param[out] result whether the key is in the map @return whether the call was successful