---
title: "First Of"
description: "Array"
---

> 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.

# First Of

## Description

The value at the start of the specified array. Results in 0 if the specified array is empty.

## Snippet

```
First Of(Global.variableName);
```

## Properties

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

> ==**Array**==
> _Type: **Array**, Default: **[Global Variable](/values/global-variable/)**_
> The array from which the value is acquired.

Source: https://wiki.wrightkit.dev/values/first-of/index.mdx
