method one
1 | class Any |
1.1 | (Any) method one |
Documentation for method one
assembled from the following types:
class Any
From Any
(Any) method one
Defined as:
method one(--> Junction)
Interprets the invocant as a list and creates a one-Junction from it.
say so 1 == (1, 2, 3).one; # OUTPUT: «True»say so 1 == (1, 2, 1).one; # OUTPUT: «False»