Is there matcher function like in C for nodeJS


 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.

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” but i can’t found this function for nodeJS can anyone help me with this.