Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 935 Bytes

File metadata and controls

48 lines (33 loc) · 935 Bytes
description
Returns TRUE if the input expression evaluates to TRUE.

ISTRUE

Syntax

ISTRUE(expression int64) → boolean

  • expression: Input expression.

Examples

{% code title="ISTRUE example" %}

SELECT ISTRUE(1)
-- True

{% endcode %}

ISTRUE(expression boolean) → boolean

  • expression: Input expression.

Examples

{% code title="ISTRUE example" %}

SELECT ISTRUE(FALSE)
-- False

{% endcode %}

ISTRUE(expression int32) → boolean

  • expression: Input expression.

Examples

{% code title="ISTRUE example" %}

SELECT ISTRUE(0)
-- False

{% endcode %}

\