Camelia

class Any

src
    class Any is Mu { ... }

 
While Mu is the root of the Perl 6 class hirarchy, Any is the class that serves as a default base class for new classes, and as the base class for most built-in classes.

Methods

ACCEPTS

    multi method ACCEPTS(Any:D: Mu $other)

 
Returns True if $other === self (ie it checks object identity).

any

Interprets the invocant as a list and creates an any -Junction from it.

all

Interprets the invocant as a list and creates an all -Junction from it.

one

Interprets the invocant as a list and creates an one -Junction from it.

none

Interprets the invocant as a list and creates an none -Junction from it.

Perl 6 Tricks and Treats newsletter

Register to the free newsletter now, and get updates and news.
Email:
Name: