astMapHasKey

Check if an entry with a given key exists in a KeyMap

Description:

This function returns a flag indicating if the KeyMap contains an entry with the given key.

Synopsis

int astMapHasKey( AstKeyMap this, const char key )

Parameters:

this
Pointer to the KeyMap.
key
The character string identifying the KeyMap entry. Trailing spaces are ignored. The supplied string is converted to upper case before use if the KeyCase attribute is currently set to zero.

Returned Value

astMapHasKey()
Non-zero if the key was found, and zero otherwise.

Notes: