Overpass exclusion

Sorry, I’m a complete noob here. I first learned about the great utility Overpass this afternoon.

I am adding fences around some historical POIs
I want to check if I have added fence_type on all of them.
The code below shows every fence that are OK.
How can I change this so that I will only see those missing the “fence_type”=“chain_link” key or alternatively misses the whole key (some fences are wire, not chain_link)?

Thanks for your time!


This has been generated by the overpass-turbo wizard.
The original search was:
// gather results
// query part for: “fence”
// print results
out body;

out skel qt;

according to https://wiki.openstreetmap.org/wiki/Overpass_API/Language_Guide#Tag_request_clauses_.28or_.22tag_filters.22.29
I would expect that way[!“fence_type”] should work.
If you would only like to exclude only chain_link, use way[“fence_type”!=“chain_link”]

Thanks! You solved my problem here!