Skip to content

charton API


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

Function: either() ​

either(...rules): OptionRule

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

Any one of rules, e.g. boolean or an object form.

Parameters ​

rules ​

...OptionRule[]

Returns ​

OptionRule