• Selects documents if element in the array field matches all the specified $elemMatch condition.

    Parameters

    • a: unknown[]

      {Any[]} element to match against

    • b: AnyObject

      {AnyObject} subquery

    • Optionaloptions: PredicateOptions

    Returns boolean