expunge exists entirely
[scpubgit/DKit.git] / lib / DX / Op / Exists.pm
diff --git a/lib/DX/Op/Exists.pm b/lib/DX/Op/Exists.pm
deleted file mode 100644 (file)
index a7758dd..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-package DX::Op::Exists;
-
-use DX::Op::SetScope;
-use Moo;
-
-has vars => (is => 'ro', required => 1);
-has body => (is => 'ro', required => 1);
-
-with 'DX::Role::Op';
-
-sub run {
-  my ($self, $state) = @_;
-  my $ret_op = DX::Op::SetScope->new(
-    scope => $state->scope,
-    next => $self->next
-  );
-  $state->assign_vars(map +($_ => {}), @{$self->vars})
-        ->push_return_then($ret_op, $self->body);
-}
-
-1;