sub isnt
Documentation for sub isnt
assembled from the following types:
module Test
From Test
(Test) sub isnt
Defined as:
multi sub isnt(Mu $got, Mu:U $expected, $desc = '') multi sub isnt(Mu $got, Mu: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 pi, 3, 'The constant π is not equal to 3'; my Int $a = 23; $a = Nil; isnt $a, Nil, 'Nil should not survive being put in a container';