mingo
Version:
MongoDB query language for in-memory objects
11 lines (10 loc) • 345 B
TypeScript
import { ExpressionOperator } from "../../../types";
/**
* Searches a string for an occurrence of a substring and returns the UTF-8 code point index of the first occurence.
* If the substring is not found, returns -1.
*
* @param {AnyObject} obj
* @param {*} expr
* @return {*}
*/
export declare const $indexOfBytes: ExpressionOperator;