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 a281cb8 commit 9582910Copy full SHA for 9582910
doc/Type/Nil.pod
@@ -45,6 +45,13 @@ assigning C<Nil> to a variable which has a default will restore that default.
45
for $x,$y -> $val is rw { $val = $reset unless $val > 0 }
46
$x.say; #-> 42
47
48
+To make C<Nil> stick to a container use binding. To test against C<Nil> use
49
+C<===> and C<any>.
50
+
51
+ my @c := 1,Nil,2;
52
+ dd @c; # (1, Nil, 2)
53
+ say so Nil === any(@c); # True
54
55
=head1 Methods
56
57
=head2 method gist
0 commit comments