Skip to content

Commit

Permalink
Cross reference hasmethod with applicable in docs (#28918)
Browse files Browse the repository at this point in the history
(cherry picked from commit c36c7ff)
  • Loading branch information
angusmoore authored and KristofferC committed Feb 11, 2019
1 parent 432ecbc commit bdc4948
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base/docs/basedocs.jl
Expand Up @@ -1083,6 +1083,8 @@ InterruptException
Determine whether the given generic function has a method applicable to the given arguments.
See also [`hasmethod`](@ref).
# Examples
```jldoctest
julia> function f(x, y)
Expand Down
2 changes: 2 additions & 0 deletions base/reflection.jl
Expand Up @@ -1008,6 +1008,8 @@ end
Determine whether the given generic function has a method matching the given
`Tuple` of argument types with the upper bound of world age given by `world`.
See also [`applicable`](@ref).
# Examples
```jldoctest
julia> hasmethod(length, Tuple{Array})
Expand Down

0 comments on commit bdc4948

Please sign in to comment.