File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -574,10 +574,10 @@ instead.
574
574
With the negated form of the adverb, the element is not actually deleted. This
575
575
means you can pass a flag to make it conditional:
576
576
577
- = begin code :preamble<my %fruit = :10apple; my $flag = True>
578
- say %fruit<apple> :delete($flag); # deletes the element only if $flag is
579
- # true, but always returns the value.
580
- = end code
577
+ = begin code :preamble<my %fruit = :10apple; my $flag = True>
578
+ say %fruit<apple> :delete($flag); # deletes the element only if $flag is
579
+ # true, but always returns the value.
580
+ = end code
581
581
582
582
Can be combined with the L < #:exists > and L < #:p > /L < #:kv > /L < #:k > /L < #:v > adverbs -
583
583
in which case the return value will be determined by those adverbs, but the
You can’t perform that action at this time.
0 commit comments