Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Vince0789 authored May 25, 2021
1 parent c92b55a commit 6799faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Sorts `array` in ascending order. Implementation of the QuickSort algorithm. Thi

### InArray
```pawn
stock bool:InArray(needle, const haystack[], &index = 0, size = sizeof haystack)
stock bool:InArray(needle, const haystack[], &index = -1, size = sizeof haystack)
```
Returns `true` if `needle` is in `haystack`, false otherwise. Using the `index` parameter, this function can be used in a while loop to find all instances of a certain value:

Expand Down

0 comments on commit 6799faf

Please sign in to comment.