Skip to main content

exists

Checks whether a given expression yields an existing value, i.e the value is one of the supported types.

exists(expression)

Parameters#

  • expression: Any expression (such as a variable, function call or some statement) that yields some value.

Returns#

  • boolean indicating the result

Example#

assertFalse(exists(nonExistingVariable))