Data/Sah/Type/bool.pm

filter: Statementstmt 100% 21 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 25 / 25 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Data/Sah/Type/Sortable.pm ↑ Summary Data/Sah/Type/buf.pm »
1 package Data::Sah::Type::bool;
2  
3 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 6 ▶use Data::Sah::Util::Role 'has_clause';
Subroutine BEGIN: called CC=1 SCAR=0.0
6 6 ▶use Role::Tiny;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 6 ▶use Role::Tiny::With;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 6 with 'Data::Sah::Type::BaseType';
10 6 with 'Data::Sah::Type::Comparable';
11 6 with 'Data::Sah::Type::Sortable';
12  
13 6 has_clause 'is_true',
14 v => 2,
15 tags => ['constraint'],
16 schema => ['bool', {}],
17 allow_expr => 1,
18 ;
19  
20 6 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
21 6 our $DATE = '2024-02-16'; # DATE
22 6 our $DIST = 'Data-Sah'; # DIST
23 6 our $VERSION = '0.917'; # VERSION
24  
25 6 1;
26 # ABSTRACT: bool type
27  
28 __END__
« Data/Sah/Type/Sortable.pm ↑ Summary Data/Sah/Type/buf.pm »