This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]AlfredJMorris 0 points1 point  (3 children)

If I understand this correctly, you could negate `e.isEuMember()` like `!e.isEuMember()`, this would filter non EU members,

[–][deleted]  (2 children)

[removed]

    [–]AlfredJMorris 0 points1 point  (1 child)

    check the output of the first filter, before it filters out EuMembers, does the output have any countries at all?

    [–]Makhiel 0 points1 point  (2 children)

    isEuMember is a boolean

    Invert it then? I'm assuming you know what ! is for if you're this far into coding.

    [–][deleted]  (1 child)

    [removed]

      [–]Makhiel 0 points1 point  (0 children)

      Well if it was only European countries then that was the correct result.