Need a Bases formula to "subtract" items in one list property from another list property

What I’m trying to do

I think this is either dead simple or impossible; I just can’t figure out which.

I have a frontmatter property A that’s a list of wikilinks to various notes.

I would list property B to be file.links minus any items that also appear in A.

So, for instance:

A: [[xx]] [[yy]]
file.links: [[xx]] [[zz]] [[aa]]

In this case, B: [[zz]] [[aa]]

Things I have tried

I haven’t tried anything yet because I have no idea how to approach the problem.

Any help would be greatly appreciated.

file.links.unique().filter(!A.contains(value))

… if I’ve correctly understood your request.