import { type mongoose } from "https://deno.land/x/mongoose@8.6.4/types/expressions.d.ts";
const { Split } = mongoose.Expression;
Properties
$split: [StringExpression, StringExpression]
Splits a string into substrings based on a delimiter. Returns an array of substrings. If the delimiter is not found within the string, returns an array containing the original string.