import { type mongoose } from "https://deno.land/x/mongoose@8.6.4/types/expressions.d.ts";
const { Slice } = mongoose.Expression;
Properties
$slice: [ArrayExpression, NumberExpression] | [ArrayExpression, NumberExpression, NumberExpression]
Returns a subset of an array.