[Bro-Dev] [Bro-Commits] [git/bro] topic/robin/dynamic-cast: Add experimental "is" and "as" operators. (dabe125)
Matthias Vallentin
vallentin at icir.org
Wed Jan 4 10:20:01 PST 2017
> function check(a: any)
> {
> local s: string = "default";
>
> if ( a is string )
> s = (a as string);
Are the parenthesis around the expression required? Intuitively,
operator "as" should have higher precedence.
Matthias
More information about the bro-dev
mailing list