sub isnt

Documentation for sub isnt assembled from the following types:

class Test

From Test

(Test) sub isnt

Defined as:

multi sub isnt(Mu $gotMu:U $expected$desc = '')
multi sub isnt(Mu $gotMu:D $expected$desc = '')

Marks a test as passed if $value and $expected are not equal using the same rules as is(). The function accepts an optional description of the test.

    isnt pi3'The constant π is not equal to 3';
    my Int $a = 23;
    $a = Nil;
    isnt $aNil'Nil should not survive being put in a container';