UNPKG

mingo

Version:

MongoDB query language for in-memory objects

8 lines (7 loc) 291 B
import { ExpressionOperator } from "../../../types"; /** * Converts a value to an integer. If the value cannot be converted to an integer, $toInt errors. If the value is null or missing, $toInt returns null. * @param obj * @param expr */ export declare const $toInt: ExpressionOperator;