Type alias WithNumber

WithNumber: {
    conv?: KeyHaving<Math, ((x) => number)>;
    range?: Range;
}

Defines attributes common to number-valued options.

Type declaration

  • Optional Readonly conv?: KeyHaving<Math, ((x) => number)>

    The kind of math conversion to apply.

  • Optional Readonly range?: Range

    The numeric range. You may want to use [-Infinity, Infinity] to disallow NaN.