Skip to content

charton API


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

Function: isColor() ​

isColor(value): boolean

Defined in: packages/core/src/util/color.ts:70

True for a color both the canvas and the WebGL layer can use, e.g. to validate saved or user input.

Parameters ​

value ​

string

Returns ​

boolean