Skip to content

Commit

Permalink
correct comparison operator in Array.every() method (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
WooWan authored May 25, 2024
1 parent d1d0f8a commit e9a3cce
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 e9a3cce

Please sign in to comment.