Skip to content

Commit

Permalink
correct comparison operator in Array.every() method
Browse files Browse the repository at this point in the history
  • Loading branch information
WooWan committed May 25, 2024
1 parent d1d0f8a commit f2c0283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core__Array.resi
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
*/
Expand Down

0 comments on commit f2c0283

Please sign in to comment.