import { type mongoose } from "https://deno.land/x/mongoose@7.8.2/types/expressions.d.ts";
const { IndexOfCP } = mongoose.Expression;
Properties
$indexOfCP: [StringExpression, StringExpression] | [StringExpression, StringExpression, NumberExpression] |
Searches a string for an occurrence of a substring and returns the UTF-8 code point index of the first occurrence. If the substring is not found, returns -1