Lipi Reference Lipi

Functions

bool()

Casts na to bool

Syntax · 1 of 4

                bool(const bool value) → const bool
              

Arguments

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

Return Type

const bool

Syntax · 2 of 4

                bool(input bool value) → input bool
              

Arguments

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

Return Type

input bool

Syntax · 3 of 4

                bool(simple bool value) → simple bool
              

Arguments

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

Return Type

simple bool

Syntax · 4 of 4

                bool(series bool value) → series bool
              

Arguments

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

Return Type

series bool