From f2c0283ee76c70d5f8bc08fba1b626e2bc991ba0 Mon Sep 17 00:00:00 2001 From: WooWan Date: Sat, 25 May 2024 21:05:17 +0900 Subject: [PATCH] correct comparison operator in Array.every() method --- src/Core__Array.resi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core__Array.resi b/src/Core__Array.resi index 529aa9cd..af4f9a82 100644 --- a/src/Core__Array.resi +++ b/src/Core__Array.resi @@ -528,7 +528,7 @@ See [`Array.every`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe ```rescript let array = [1, 2, 3, 4] -Console.log(array->Array.every(num => num > 4)) // true +Console.log(array->Array.every(num => num <= 4)) // true Console.log(array->Array.every(num => num === 1)) // false ``` */