help?> methodswith
search: methodswith

  methodswith(typ[, module or function][, showparents])

  Return an array of methods with an argument of type typ. If optional 
showparents is true, also return arguments with
  a parent type of typ, excluding type Any.

  The optional second argument restricts the search to a particular module 
or function.



On Monday, May 23, 2016 at 8:03:02 PM UTC+2, Ford Ox wrote:
>
> Is there any function that will print out all methods available for 
> concrete type?
>
> type Foo end
> method1(f::Foo) = ...
> method2(x::Int, f::Foo) = ...
> methods(Foo)
>
> Foo has three methods:
>>
> method1(...)
>>
> method2(...)
>>
> methods(...)
>>
>  
>
>

Reply via email to