Interface Convert<K>

Type Parameters

  • K extends "double" | 1 | "string" | 2 | "objectId" | 7 | "bool" | 8 | "date" | 9 | "int" | 16 | "long" | 18 | "decimal" | 19 = "double" | 1 | "string" | 2 | "objectId" | 7 | "bool" | 8 | "date" | 9 | "int" | 16 | "long" | 18 | "decimal" | 19

Hierarchy

  • Convert

Properties

Properties

$convert: {
    input: any;
    onError?: any;
    onNull?: any;
    to: K;
}

Checks if the specified expression resolves to one of the following numeric

  • Integer
  • Decimal
  • Double
  • Long

Type declaration

  • input: any
  • Optional onError?: any
  • Optional onNull?: any
  • to: K

Generated using TypeDoc