Binary package “libreturn-type-perl” in ubuntu focal

specify a return type for a function (optionally with coercion)

 Return::Type allows you to specify a return type for your subs. Type
 constraints from any Type::Tiny, MooseX::Types or MouseX::Types type
 library are supported.