Type alias NumericValue

NumericValue: {
    valueOf: (() => number);
}

Any object that provides a valueOf() function which returns a number. The built-in types string and number (among others) satisfy this constraint.

Type declaration

  • valueOf: (() => number)
      • (): number
      • Returns number

Generated using TypeDoc