UNPKG

mingo

Version:

MongoDB query language for in-memory objects

7 lines (6 loc) 319 B
import { Any, AnyObject, Options } 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. */ export declare const $indexOfBytes: (obj: AnyObject, expr: Any, options: Options) => Any;