Power Query
published
Search
⌃K

Logical.ToText

Logical.ToText

Returns the text "true" or "false" given a logical value.
function (optional logicalValue as nullable any) as nullable any

Description

Creates a text value from the logical value logicalValue, either true or false. If logicalValue is not a logical value, an exception is thrown.

Category

Logical

Examples

Create a text value from the logical true.
Logical.ToText(true)
"true"