Is there an existing function to get a method definition expression from the Method
instance?
As example, I would like to have some function signature_expression
such that:
ff(a::T, b::C, c::Tuple{Real,Real}) where {T <: Real,C} = "DO SOMETHING"
mtd = methods(ff)[1]
signature_expression(mtd) == :(ff(a::T, b::C, c::Tuple{Real,Real}) where {T <: Real,C})