+++ /dev/null
-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;