---
title: IS_PRESENT
url: https://www.tines.com/docs/formulas/functions/is-present/
kind: formula-function
---

*[tines.com](https://www.tines.com/llms.txt) › [Docs](https://www.tines.com/llms.txt) › [Formulas](https://www.tines.com/llm/docs/formulas.md) › [Functions](https://www.tines.com/llm/docs/formulas/functions.md)*

# IS_PRESENT

*[View on tines.com](https://www.tines.com/docs/formulas/functions/is-present/)*

Returns true unless [blank](https://www.tines.com/docs/formulas/functions/is-blank). The result is false for any of `FALSE`, `""`, `[]`, `{}`, `NULL`, and true otherwise

**Categories:** Text, Objects, Arrays, Logic, Numbers

## Syntax

```
IS_PRESENT(any)
```

## Examples

### Example 1

Input:

```json
{
  "my_action": {
    "value1": ""
  }
}
```

Formula:

```
IS_PRESENT(my_action.value1)
```

Output:

```json
{
  "value1": false
}
```

### Example 2

Input:

```json
{
  "my_action": {
    "value2": false
  }
}
```

Formula:

```
IS_PRESENT(my_action.value2)
```

Output:

```json
{
  "value2": false
}
```

### Example 3

Input:

```json
{
  "my_action": {
    "value3": []
  }
}
```

Formula:

```
IS_PRESENT(my_action.value3)
```

Output:

```json
{
  "value3": false
}
```

### Example 4

Input:

```json
{
  "my_action": {
    "value4": {}
  }
}
```

Formula:

```
IS_PRESENT(my_action.value4)
```

Output:

```json
{
  "value4": false
}
```

### Example 5

Input:

```json
{
  "my_action": {
    "value5": null
  }
}
```

Formula:

```
IS_PRESENT(my_action.value5)
```

Output:

```json
{
  "value5": false
}
```

### Example 6

Input:

```json
{
  "my_action": {
    "value6": "Hello World"
  }
}
```

Formula:

```
IS_PRESENT(my_action.value6)
```

Output:

```json
{
  "value6": true
}
```

### Example 7

Input:

```json
{
  "my_action": {
    "value7": 1
  }
}
```

Formula:

```
IS_PRESENT(my_action.value7)
```

Output:

```json
{
  "value7": true
}
```

## Sample actions

```json
{
  "standardLibVersion": "13",
  "actionRuntimeVersion": "1",
  "agents": [
    {
      "disabled": false,
      "name": "My Action",
      "description": "",
      "options": {
        "mode": "message_only",
        "loop": false,
        "payload": {
          "value1": "",
          "value2": false,
          "value3": [],
          "value4": {},
          "value5": null,
          "value6": "Hello World",
          "value7": 1
        }
      },
      "position": {
        "x": 165,
        "y": 2205
      },
      "type": "eventTransformation",
      "timeSavedUnit": "minutes",
      "timeSavedValue": 0,
      "monitorAllEvents": false,
      "monitorFailures": false,
      "monitorNoEventsEmitted": null,
      "form": null
    },
    {
      "disabled": false,
      "name": "IS_PRESENT",
      "description": "",
      "options": {
        "mode": "message_only",
        "loop": false,
        "payload": {
          "value1": "=IS_PRESENT(my_action.value1)",
          "value2": "=IS_PRESENT(my_action.value2)",
          "value3": "=IS_PRESENT(my_action.value3)",
          "value4": "=IS_PRESENT(my_action.value4)",
          "value5": "=IS_PRESENT(my_action.value5)",
          "value6": "=IS_PRESENT(my_action.value6)",
          "value7": "=IS_PRESENT(my_action.value7)"
        }
      },
      "position": {
        "x": 165,
        "y": 2295
      },
      "type": "eventTransformation",
      "timeSavedUnit": "minutes",
      "timeSavedValue": 0,
      "monitorAllEvents": false,
      "monitorFailures": false,
      "monitorNoEventsEmitted": null,
      "form": null
    }
  ],
  "links": [
    {
      "sourceIdentifier": 0,
      "receiverIdentifier": 1
    }
  ],
  "diagramNotes": []
}
```
