1 package Moose::Meta::Method::Accessor::Native::Hash::is_empty;
6 use Scalar::Util qw( looks_like_number );
10 with 'Moose::Meta::Method::Accessor::Native::Reader' =>
11 { -excludes => ['_maximum_arguments'] };
13 sub _maximum_arguments { 0 }
17 my ($slot_access) = @_;
19 return 'scalar keys %{ (' . $slot_access . ') } ? 0 : 1';