IsNull

Tests whether a value is null within the Jyro type system.

Syntax

IsNull(value)

Parameters

  • value (any): The value to test for null

Returns

  • boolean: True if the value is null, false for all non-null values

Description

Provides the logical inverse of the Exists function and is useful for conditional logic and validation.

Examples

var result1 = IsNull(null)         # Returns true
var result2 = IsNull("hello")      # Returns false
var result3 = IsNull(0)            # Returns false
var result4 = IsNull(array [])     # Returns false

Back to top

Copyright © Mesch Systems. All rights reserved.