---
title: "isNotNull"
canonical: "https://support.appfire.com/space/PSCONF/15302996/isNotNull"
format: markdown
---
> Macro (aura-html)

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | isNotNull(variable) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Checks if the provided variable is not null or has a value associated and returns true. Otherwise returns false.

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

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | variable | Any | Yes | Value you want to test. Value argument can be a string or a variable of any type. |

## Return Type

**Boolean (true/false)**

## Example

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

  


> ⚠️ **isNotNull** returns "true" if the variable has a value attached (including **zero** for numeric variables or **blank** for character/string).

  


## See also

> Macro (contentbylabel)