summaryrefslogtreecommitdiffstats
path: root/lib/Text/Handlebars.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Text/Handlebars.pm')
-rw-r--r--lib/Text/Handlebars.pm9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Text/Handlebars.pm b/lib/Text/Handlebars.pm
index 0a02f77..d104003 100644
--- a/lib/Text/Handlebars.pm
+++ b/lib/Text/Handlebars.pm
@@ -124,15 +124,6 @@ sub default_functions {
return {
%{ $class->SUPER::default_functions(@_) },
%{ $class->default_helpers },
- '(is_falsy)' => sub {
- my ($val) = @_;
- if (ref($val) && ref($val) eq 'ARRAY') {
- return @$val == 0;
- }
- else {
- return !$val;
- }
- },
'(is_code)' => sub {
my ($val) = @_;
return ref($val) && ref($val) eq 'CODE';