Skip to main content
Version: 1.13

Boolean Functions


  • parameters:
    • negand: boolean
  • result: boolean
// false

is defined()

Checks if a given value is defined or not. A value is defined if it exists, and it is an instance of one of the FEEL data types including null.

The function can be used to check if a variable, or a context entry (e.g. a property of a variable) exists. It allows differentiating between a variable that is null and a value that doesn't exist.

  • parameters:
    • value: any
  • result: boolean
is defined(1)
// true

is defined(null)
// true

is defined(x)
// false - if no variable "x" exists

is defined(x.y)
// false - if no variable "x" exists or it doesn't have a property "y"