We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09fbb53 commit cde8d46Copy full SHA for cde8d46
doc/Language/operators.pod6
@@ -1406,12 +1406,13 @@ the coerced value.
1406
1407
=head2 infix C«?|»
1408
1409
- multi sub infix:<?|>($a, $b --> Bool:D)
+ multi sub infix:<?|>(Mu $x = Bool::False)
1410
+ multi sub infix:<?|>(Mu \a, Mu \b)
1411
-X<Boolean logical OR operator>.
1412
-
1413
-Coerces both arguments to L<Bool|/type/Bool> and does a logical I<OR> (inclusive OR)
1414
-operation.
+X<Boolean logical OR operator>. Coerces the argument(s) to L<Bool|/type/Bool>
+and performs logical OR (inclusive OR) on it(them): it will return True if at least one of
+the argument is True. On a single argument it behaves as identity, returning
1415
+the coerced value.
1416
1417
=head1 Replication precedence
1418
0 commit comments