File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -1485,11 +1485,10 @@ defmodule Kernel do
1485
1485
@ doc """
1486
1486
Boolean or.
1487
1487
1488
- If the first argument is `true`, `true` is returned; otherwise, the second
1489
- argument is returned.
1488
+ If `left` is `true`, returns `true`; otherwise returns `right`.
1490
1489
1491
- Requires only the first argument to be a boolean since it short-circuits.
1492
- If the first argument is not a boolean, an `ArgumentError` exception is
1490
+ Requires only the `left` operand to be a boolean since it short-circuits.
1491
+ If the `left` operand is not a boolean, an `ArgumentError` exception is
1493
1492
raised.
1494
1493
1495
1494
Allowed in guard tests.
@@ -1513,11 +1512,10 @@ defmodule Kernel do
1513
1512
@ doc """
1514
1513
Boolean and.
1515
1514
1516
- If the first argument is `false`, `false` is returned; otherwise, the second
1517
- argument is returned.
1515
+ If `left` is `false`, returns `false`; otherwise returns `right`.
1518
1516
1519
- Requires only the first argument to be a boolean since it short-circuits. If
1520
- the first argument is not a boolean, an `ArgumentError` exception is raised.
1517
+ Requires only the `left` operand to be a boolean since it short-circuits. If
1518
+ the `left` operand is not a boolean, an `ArgumentError` exception is raised.
1521
1519
1522
1520
Allowed in guard tests.
1523
1521
You can’t perform that action at this time.
0 commit comments