From 0e9d6c0c6a4ea55a075a0e31332f217991471b4b Mon Sep 17 00:00:00 2001 From: Daniele Scasciafratte Date: Wed, 10 Jul 2024 10:58:52 +0200 Subject: [PATCH] Update src/std/array.ab Co-authored-by: Phoenix Himself --- src/std/array.ab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/std/array.ab b/src/std/array.ab index 0ecbaa2b0..e7b5ce6c0 100644 --- a/src/std/array.ab +++ b/src/std/array.ab @@ -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] } }