Skip to content

Commit

Permalink
correct example for lib.array.shift
Browse files Browse the repository at this point in the history
  • Loading branch information
thelindat committed Jun 1, 2024
1 parent 57e8844 commit 0aab466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/ox_lib/Modules/Array/Shared.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ Removes the first element from an array and returns the value.
- arr: `Array`

```lua
lib.array.pop(arr)
lib.array.shift(arr)
```

**Returns:**
Expand Down

0 comments on commit 0aab466

Please sign in to comment.