Documents

Javascript statement executed in a filter function for each document. End the statement with a boolean return.
Exposed variables: document, validateText, validateContentRelationship, getDocumentCoreData, documentRepo (already initialized).
Tips: No documents returned could mean the code has issues. Test your code with stuff you know should match first. Optional chaining (?.) is your friend!
Code filter history: