import { type mongoose } from "https://deno.land/x/mongoose@8.6.4/types/expressions.d.ts";
const { IndexOfArray } = mongoose.Expression;
Properties
$indexOfArray: [ArrayExpression, Expression] | [ArrayExpression, Expression, NumberExpression] |
Searches an array for an occurrence of a specified value and returns the array index of the first occurrence. If the substring is not found, returns -1.