Start of change

ISNOTFALSE

The ISNOTFALSE function returns TRUE when the truth value of boolean-expression is TRUE or NULL, and FALSE when the truth value is FALSE.

Read syntax diagramSkip visual syntax diagramISNOTFALSE( boolean-expression )
boolean-expression
An expression that returns a built-in Boolean, character string, graphic string, integer, or decimal floating-point data type. A character string, graphic string, integer, or decimal floating-point value is cast to Boolean. For more information about converting character string, graphic string, integer, and decimal floating-point to Boolean, see BOOLEAN.

The data type of the result is Boolean.

Examples

  • Example 1: The following statement returns a value of data type BOOLEAN with the value TRUE.
     VALUES ISNOTFALSE(1)
  • Example 2: The following statement returns a value of data type BOOLEAN with the value FALSE.
     VALUES ISNOTFALSE('NO')
  • Example 3: The following statement returns a value of data type BOOLEAN with the value TRUE.
     VALUES ISNOTFALSE('Yes')
  • Example 4: The following statement returns a value of data type BOOLEAN with the value TRUE.
     VALUES ISNOTFALSE(NULL)
End of change