Skip to end of banner
Go to start of banner

isNotNull

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Availability

This routine is available starting with katl-commons 1.0 .

Syntax

isNotNull(variable)

Description

Checks if the provided variable is not null or has a value associated and returns true. Otherwise returns false.

Parameters

Parameter name

Required

Description

variable

Yes

The value that you want tested. The value argument can be a string or a variable of any type.

Return type

boolean (true/false)

Example

if(isNotNull(reporter))
{
  assignee = reporter;
}

Notes

isNotNull returns true if the variable has a value attached (including zero for numeric variables or blank for character/string)

See also

 

  • No labels