perl6/doc/lib/Nil

doc src
(title) class Nil
    class Nil is Iterator { }

 
Represents an empty list in list context, and an undefined value in item context.

Methods

(head2) gist
    method gist() returns Str:D

 
Returns "Nil"
(head2) Str
    method Str() returns Str:D

 
Returns the empty string.

Perl 6 Tricks and Treats newsletter

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