Skip to main content
Version: 7.9

isNull

This function is used by Ignition's Expression language.

Description

Tests to see whether or not the argument value is null. Note that you can also check for null by simply comparing the value to the null keyword. isNull(x) is the same as x = null.

Syntax

isNull(value)

  • Parameters

    • object value - A value to check if it is null.
  • Results

    • Bool - True if the value is null, False if it is not.

Examples

Code Snippet
 if(isNull({Root Container.MyProperty}), 0, 1) //returns 0 if the property is null, 1 otherwise.