You're looking for 'in'

http://try.bro.org/#/?example=basics-composite-types-table


-- 
- Justin Azoff

> On Aug 8, 2017, at 2:04 PM, Reinhard Gentz <rge...@asu.edu> wrote:
> 
> Hi,
> 
> I would like to check if a certain table element exists and then take 
> corresponding action like the following:
> 
> if (exists(mytable["my_dynamic_name"]))
>     do something
> else
>     do something else
> 
> 
> Can someone give me a hint?
> Reinhard
> _______________________________________________
> bro-dev mailing list
> bro-dev@bro.org
> http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


_______________________________________________
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to