Documentation for routine x

Documentation for routine x, assembled from the following types:

language documentation Operators

From Operators

(Operators) infix x

sub infix:<x>($a$b --> Str:D)

String repetition operator.

Repeats the string $a $b times, if necessary coercing $a to Str and $b Int. Returns an empty string if $b <= 0 .

say 'ab' x 3;           # OUTPUT: «ababab␤» 
say 42 x 3;             # OUTPUT: «424242␤» 
 
my $a = 'a'.IO;
my $b = 3.5;
say $a x $b;            # OUTPUT: «aaa␤» 

class IO::Handle

From IO::Handle

(IO::Handle) method x

method x(--> Bool)

Returns Bool::True if the invocant is a path and executable.

class IO::Path

From IO::Path

(IO::Path) method x

method x(--> Bool)

Returns Bool::True if the invocant is a path and executable.

role IO::Special

From IO::Special

(IO::Special) method x

method x(IO::Special:D: --> Bool)

The 'execute access' file test operator, always returns False.