File Coverage

lib/JMAP/Validation/Checks/Boolean.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package JMAP::Validation::Checks::Boolean;
2              
3 5     5   379 use Test2::Bundle::Extended;
  5         91636  
  5         21  
4              
5             our $is_boolean = validator(sub {
6             my (%params) = @_;
7              
8             return (ref($params{got}) || '') eq 'JSON::PP::Boolean';
9             });
10              
11             1;