Skip to main content

Name

dict_key_exists — Determine whether the specified key exists

Synopsis

#include "ecdict.h"

| int **dict_key_exists** ( | a, |   | |   | b); |   |

ECDict <var class="pdparam">a</var>; const char * <var class="pdparam">b</var>;

Description

Determine whether the specified key exists.

Parameters

a

The ECDict. An ECDict is a typedef of an ec_hash_table.

key

The key.

Return Value

Returns 1 if the key exists otherwise 0 is returned.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?