UNPKG

mingo

Version:

MongoDB query language for in-memory objects

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