Lipi Reference Lipi

Functions

color()

Casts na to color

Syntax · 1 of 4

                color(const color value) → const color
              

Arguments

value required const color The value to convert to the specified type, usually na.

Return Type

const color

Syntax · 2 of 4

                color(input color value) → input color
              

Arguments

value required input color The value to convert to the specified type, usually na.

Return Type

input color

Syntax · 3 of 4

                color(simple color value) → simple color
              

Arguments

value required simple color The value to convert to the specified type, usually na.

Return Type

simple color

Syntax · 4 of 4

                color(series color value) → series color
              

Arguments

value required series color The value to convert to the specified type, usually na.

Return Type

series color