UNPKG

mingo

Version:

MongoDB query language for in-memory objects

12 lines (11 loc) 211 B
import { processBitwise } from "./_internal"; const $bitAnd = (obj, expr, options) => processBitwise( obj, expr, options, "$bitAnd", (nums) => nums.reduce((a, b) => a & b, -1) ); export { $bitAnd };