ISTRUE

Returns TRUE if the input expression evaluates to TRUE.

Syntax

ISTRUE(expression int64) → boolean

  • expression: Input expression.

Examples

ISTRUE example
SELECT ISTRUE(1)
-- True

ISTRUE(expression boolean) → boolean

  • expression: Input expression.

Examples

ISTRUE example
SELECT ISTRUE(FALSE)
-- False

ISTRUE(expression int32) → boolean

  • expression: Input expression.

Examples

ISTRUE example
SELECT ISTRUE(0)
-- False

Last updated