---
title: "Value In Array"
description: "Array, Index"
---

> Documentation Index
> Fetch the complete documentation index at: https://wiki.wrightkit.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Value In Array

## Description

The value found at a specific element of an array. Results in 0 if the element does not exist.

## Snippet

```
Value In Array(Global.variableName, 0);
```

## Properties

**Returns**: _<span style="color: #c678dd">Object</span>_ | _<span style="color: #c678dd">Array</span>_
**Parameters**: ==_Array_==, ==_Index_==

> ==**Array**==
> _Type: **Array**, Default: **[Global Variable](/values/global-variable/)**_
> The array whose element to acquire.

> ==**Index**==
> _Type: **Integer**, Default: **[Number](/values/number/)**_
> The index of the element to acquire.

Source: https://wiki.wrightkit.dev/values/value-in-array/index.mdx
