1package Moose::Meta::Method::Accessor::Native::Hash::is_empty; 2our $VERSION = '2.2201'; 3 4use strict; 5use warnings; 6 7use Moose::Role; 8 9with 'Moose::Meta::Method::Accessor::Native::Reader'; 10 11sub _maximum_arguments { 0 } 12 13sub _return_value { 14 my $self = shift; 15 my ($slot_access) = @_; 16 17 return 'scalar keys %{ (' . $slot_access . ') } ? 0 : 1'; 18} 19 20no Moose::Role; 21 221; 23