Skip to content

MAP_contains_arr

BigETI edited this page May 4, 2018 · 1 revision

Description

Map contains (key[])

Returns

true if successful, otherwise false

Syntax

bool:MAP_contains_arr(Map:map, const key[], key_size = sizeof key)

Example

new Map:map, arr[10] = { 100, ... };
MAP_insert_arr_val(map, arr, _, 1);
printf("Value%s found", (MAP_contains_arr(map, arr) ? ("") : (" not")));