Skip to content

Commit 20f885d

Browse files
committed
correct comparison operator in Array.every() method
1 parent 783c25f commit 20f885d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/api/latest/core.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9782,7 +9782,7 @@
97829782
"kind": "value",
97839783
"name": "every",
97849784
"docstrings": [
9785-
"`every(array, predicate)` returns true if `predicate` returns true for all items in `array`.\n\nSee [`Array.every`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/every) on MDN.\n\n## Examples\n```rescript\nlet array = [1, 2, 3, 4]\n\nConsole.log(array->Array.every(num => num < 4)) // true\nConsole.log(array->Array.every(num => num === 1)) // false\n```"
9785+
"`every(array, predicate)` returns true if `predicate` returns true for all items in `array`.\n\nSee [`Array.every`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/every) on MDN.\n\n## Examples\n```rescript\nlet array = [1, 2, 3, 4]\n\nConsole.log(array->Array.every(num => num <= 4)) // true\nConsole.log(array->Array.every(num => num === 1)) // false\n```"
97869786
],
97879787
"signature": "let every: (array<'a>, 'a => bool) => bool"
97889788
},

0 commit comments

Comments
 (0)