1 package Moose::Meta::Method::Accessor::Native::Hash::is_empty;
6 use Scalar::Util qw( looks_like_number );
8 our $VERSION = '1.9900';
9 $VERSION = eval $VERSION;
10 our $AUTHORITY = 'cpan:STEVAN';
14 with 'Moose::Meta::Method::Accessor::Native::Reader' =>
15 { -excludes => ['_maximum_arguments'] };
17 sub _maximum_arguments { 0 }
21 my ($slot_access) = @_;
23 return 'scalar keys %{ (' . $slot_access . ') } ? 0 : 1';