1> Dict = dict:from_list([{1,"foo"}, {2,"bar"}, {3, "baz"}]).
{dict,3,
16,
16,
8,
80,
48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],
[[3,98,97,122]],
[],
[],
[],
[],
[[2,98,97,114]],
[],
[],
[],
[],
[[1,102,111,111]],
[],
[],
[],
[]}}}
2> dict:is_key(1, Dict).
true
3> dict:is_key(4, Dict).
false |