UNPKG

mingo

Version:

MongoDB query language for in-memory objects

8 lines (7 loc) 250 B
import { isNumber } from "../../util"; import { stddev } from "./_internal"; import { $push } from "./push"; const $stdDevPop = (collection, expr, options) => stddev($push(collection, expr, options).filter(isNumber), false); export { $stdDevPop };