UNPKG

mingo

Version:

MongoDB query language for in-memory objects

9 lines (8 loc) 238 B
import { evalExpr } from "../../../core/_internal"; import { truthy } from "../../../util/_internal"; function $expr(_, expr, options) { return (obj) => truthy(evalExpr(obj, expr, options), options.useStrictMode); } export { $expr };