Skip to content

Commit

Permalink
Update src/std/array.ab
Browse files Browse the repository at this point in the history
Co-authored-by: Phoenix Himself <[email protected]>
  • Loading branch information
Mte90 and Ph0enixKM authored Jul 10, 2024
1 parent 46289b9 commit 0e9d6c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/std/array.ab
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub fun array_first_index(array, value): Num {
pub fun array_search(array, value): [Num] {
let result = [Num]
loop index, element in array {
if(value as Text == element as Text) {
if value as Text == element as Text {
result += [index]
}
}
Expand Down

0 comments on commit 0e9d6c0

Please sign in to comment.