src/container.c
// Check if there is an element with key.
Check if there is an element with key.
Check if there is an element with key .
bool map_contains(Map *map, char *key) {
    for (int i = 0; i < map->len; i++) {
        if (!strcmp(vec_at(map->keys, i), key)) {
            return true;
        }
    }
    return false;
}
bool map_contains ( Map * map , char * key ) { for ( int i = 0 ; i < map -> len ; i ++ ) { if ( ! strcmp ( vec_at ( map -> keys , i ) , key ) ) { return true ; } } return false ; }
Check if there is an element with key.
Check if there is an element with key .