Function: getColorway()
ts
function getColorway(name): readonly string[] | undefined;A named colorway's colors (case-insensitive), or undefined. Safe (CARTO's colorblind-safe palette, plan E17.5) is always available, like plotly.js's colorscale names; registering a colorway of that name replaces it. Shared: do not mutate.
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
readonly string[] | undefined