$bitsAnyClear
The `$bitsAnyClear` operator is used to match documents where any of the bit positions specified in a bitmask are clear (that is, 0). This operator is useful for filtering documents based on at least one bit being unset.
Syntax
{
<field>: { $bitsAnyClear: <bitmask> }
}
Parameters
field
stringrequiredThe field in the document on which the bitwise operation is to be performed.
<bitmask>
numberrequiredA bitmask where each bit position specifies the corresponding bit position that should be checked for being clear (0).