Skip to content

charton API


charton API / @chart-on/core / index / num

Function: num() ​

num(min?, max?): OptionRule

Defined in: packages/core/src/util/options-check.ts:29

A number, at least min and at most max when given.

Parameters ​

min? ​

number

max? ​

number

Returns ​

OptionRule