GlideElement - nil()

Determines whether the field is null.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
Boolean True if the field is null or an empty string, false otherwise.

Scoped equivalent

To use the nil() method in a scoped application, use the corresponding scoped method: Scoped GlideElement - nil().

if (current.start_date.changes() || current.end_date.changes() || current.assigned_to.changes()) { 
  if (!current.start_date.nil() && !current.end_date.nil() && !current.assigned_to.nil()) {
 gs.eventQueue("change.calendar.notify", current, current.assigned_to, previous.assigned_to);