---
title: "BA_isChecked"
canonical: "https://support.appfire.com/space/PSJ/15485335/BA_isChecked"
format: markdown
---
> Macro (aura-html)


> 📝 The use of this function requires the Power Actions add-on be installed and licensed.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | BA_isChecked(argv, label) | **Package** | poweraction |
| **Alias** |  | **Pkg Usage** | isChecked(argv, label) |

## Description

> Macro (excerpt)
> 
> A method for checking whether a checkbox is selected or not.

A method for checking whether a checkbox is selected or not.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| argv | String [] | Yes | The argv variable (predefined variable). |
| label | String | Yes | The label of the checkbox. |

## Return Type

**Boolean**

Returns true if the box was checked, false otherwise.

## Example

Assume we have the following parameter script:

```
BA_createSingleCheckbox("Single Checkbox", true, false, true, "Required checkbox");
```

The following call is used in the execution script to determine if the checkbox created above is checked:

```
boolean res = BA_isChecked(argv, "Single Checkbox");
```

## See also

> Macro (contentbylabel)