Next: dict_del

Prev: dict_add_elem

dict_contains

dict_contains(dictionary, key)
This function returns 1 if there is an association in dictionary with the key key, or 0 otherwise.

Examples:

dict_contains(#[["foo", "bar"]], "foo")
     => 1
dict_contains(#[["foo", "bar"]], "bar")
     => 0