Documentation for method skip-one

Documentation for method skip-one, assembled from the following types:

role Iterator

From Iterator

(Iterator) method skip-one

Defined as:

method skip-one(Iterator:D: $target --> Mu)

Skips one value. The return value is truthy if skip was successful and falsy if there were no values to skip:

my $i = <a b>.iterator;
say $i.skip-onesay $i.pull-onesay $i.skip-one
# OUTPUT: «1␤b␤0␤»