Skip to content

charton API


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

Function: optionIssues() ​

optionIssues(value, rule, path?): OptionIssue[]

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

The problems with value against rule, outermost first; path prefixes the reported keys. undefined and null are always accepted, as patches use them to leave a value alone or reset it.

Parameters ​

value ​

unknown

rule ​

OptionRule

path? ​

string = ''

Returns ​

OptionIssue[]