Skip to content

charton API


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

Function: int() ​

int(min?, max?): OptionRule

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

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

Parameters ​

min? ​

number

max? ​

number

Returns ​

OptionRule