UNPKG

mingo

Version:

MongoDB query language for in-memory objects

8 lines (7 loc) 170 B
const $skip = (collection, expr, _options) => { assert(expr >= 0, "$skip value must be a non-negative integer"); return collection.drop(expr); }; export { $skip };