mingo
Version:
MongoDB query language for in-memory objects
9 lines (8 loc) • 300 B
TypeScript
import { ExpressionOperator } from "../../../types";
/**
* Converts a value to a double. If the value cannot be converted to an double, $toDouble errors. If the value is null or missing, $toDouble returns null.
*
* @param obj
* @param expr
*/
export declare const $toDouble: ExpressionOperator;