def unwrap
import bendvy-ecs-core@0.1.0.3/execution_command_publication.bend as ExecutionCommandPublicationimport Base
import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout
32def unwrap(~P:Type,~V:Data,value:Maybe<&1,Layout.Viewed<P,V>>) -> Maybe<&1,P>:
33 match value:
34 case None{}:None{}
35 case Some{Layout.Viewed{owner,_}}:Some{owner}