perl6/doc/lib/Any

doc src
(title) class Any
    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

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

 
Returns True if $other === self (ie it checks object identity).
(head2) any
Interprets the invocant as a list and creates an any -Junction from it.
(head2) all
Interprets the invocant as a list and creates an all -Junction from it.
(head2) one
Interprets the invocant as a list and creates an one -Junction from it.
(head2) 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: