# isArray

## Description

Determines whether the passed value is an array/list.

## Input / Parameter

| Name  | Description              | Input Type | Default | Options | Required |
| ----- | ------------------------ | ---------- | ------- | ------- | -------- |
| value | The value to be checked. | Any        | -       | -       | Yes      |

## Output

| Description                                        | Output Type |
| -------------------------------------------------- | ----------- |
| Returns true if value is an array otherwise false. | Boolean     |

## Callback

N/A

## Video

Coming soon.

## Example

### isArray: True

1. Drag the `isArray` function into the event flow.

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-cbb7ef60f6fcd0a87b96952828b11640e2fef962%2FisArray-step-1.png?alt=media)
2. For value, use the function `toArray` to pass an array to the `isArray` function.

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-60dd22733809b0871410272051f66df32cf3fe06%2FisArray-step-2.png?alt=media)

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-071c48481d002a5d0dcfec41a956827c9467c88c%2FisArray-step-3.png?alt=media)
3. `isArray` will return `true` since the value is an array.

### isArray: False

1. Drag the `isArray` function into the event flow.

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-cbb7ef60f6fcd0a87b96952828b11640e2fef962%2FisArray-step-1.png?alt=media)
2. Pass the value `This is a string` to the function.

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-0f02cb0b15c216effdf0d3e537325068b1b48b3e%2FisArray-step-4.png?alt=media)
3. `isArray` will return `false` since the value is a string and not an array.

## Links
