Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross reference hasmethod with applicable in docs #28918

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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