I'm trying to match a false value of map's key, which in javascript effectively means also undefined, null etc... It seems to me that core.match matches the value exactly. Is there any way to do this?
The other way would be to match "not true", but the docs don't give me any hint how to do this either.
You could use
:orpatterns:returns
trueifxisfalseornil,falseotherwise.Alternatively, you could use
:guardpatterns::whenpatterns would also work (with(defpred not)), but they can be tricky to get right and bring no benefit over guards in this case.