Lines Matching refs:true
33 This type has only two instances, true and false. A natural representation
39 =item $Types::Serialiser::true, Types::Serialiser::true
41 This value represents the "true" value. In most contexts is acts like
43 (C<$Types::Serialiser::true>) or the constant form (C<Types::Serialiser::true>).
59 Returns true iff the C<$value> is either C<$Types::Serialiser::true> or
62 For example, you could differentiate between a perl true value and a
63 C<Types::Serialiser::true> by using this:
69 Returns true iff C<$value> is C<$Types::Serialiser::true>.
124 our $true = do { bless \(my $dummy = 1), Types::Serialiser::Boolean:: };
128 sub true () { $true }
155 see if it's C<1> (true), C<0> (false) or C<undef> (error).
163 comparison will normally work correctly (i.e. Types::Serialiser::true ISA