Is there matcher function like in C for nodeJS

Hello,

 I have a use case where i want to filter the newly inserted document from insertOne.

with this document i want to match multiple filters which contains multiple find queries like “$in”, “$or”, and more operators.
example:
image

for this i will need to use this “match” but in js directly, the function should return me true or false if matched. i’ve seen that in C language you have “Client Side Document Matching” http://mongoc.org/libmongoc/1.2.0/matcher.html but i can’t found this function for nodeJS can anyone help me with this.