diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-10-08 15:25:22 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-10-08 15:25:22 -0500 |
commit | fc3a232b4651894456961a143475b34fe948e08f (patch) | |
tree | c533913df89c69401e4772067b9d3b5147181db8 /lib/Text/Handlebars.pm | |
parent | 2fc8a855e6e6a8dc2d43f959e9c5ecd2ae9ea4c8 (diff) | |
download | text-handlebars-fc3a232b4651894456961a143475b34fe948e08f.tar.gz text-handlebars-fc3a232b4651894456961a143475b34fe948e08f.zip |
this is already a built-in thing
Diffstat (limited to 'lib/Text/Handlebars.pm')
-rw-r--r-- | lib/Text/Handlebars.pm | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Text/Handlebars.pm b/lib/Text/Handlebars.pm index ab76b42..53d9061 100644 --- a/lib/Text/Handlebars.pm +++ b/lib/Text/Handlebars.pm @@ -38,10 +38,6 @@ sub default_functions { return { %{ $class->SUPER::default_functions(@_) }, %{ $class->default_helpers }, - '(is_array)' => sub { - my ($val) = @_; - return ref($val) && ref($val) eq 'ARRAY'; - }, '(is_falsy)' => sub { my ($val) = @_; if (ref($val) && ref($val) eq 'ARRAY') { |