containsKey
CAPL Functions » Associative Fields » containsKey Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEMethod Syntax (Dynamic)
dword map[char[]]::containsKey(char key[]);dword map[float]::containsKey(float key);dword map[int64]::containsKey(int64 key):dword map[long]::containsKey(long key);
Description
Returns the information if a key is available in the field.Complexity
O(log(N))Parameters
- key: Key that should be checked.
Return Values
- 1: Key was available
- 0: Key was not available