Product Site

5.1.4.15. isNil

Returns .true if the receiving object is the .nil object. Returns .false otherwise.

Example 5.33. Object class — isNil method
say .Object~isNil    -- 0
say .nil~isNil       -- 1