UNPKG

mingo

Version:

MongoDB query language for in-memory objects

7 lines (6 loc) 224 B
import { computeValue } from "../../core/_internal"; import { hashCode } from "../../util"; const $toHashedIndexKey = (obj, expr, options) => hashCode(computeValue(obj, expr, null, options)); export { $toHashedIndexKey };