From bdc494839cde16235abd5150a153b7ebec1995d6 Mon Sep 17 00:00:00 2001 From: angusmoore <18376371+angusmoore@users.noreply.github.com> Date: Sun, 2 Sep 2018 09:49:25 +1000 Subject: [PATCH] Cross reference hasmethod with applicable in docs (#28918) (cherry picked from commit c36c7ff34530c96af5ca95e6b15621ae09165062) --- base/docs/basedocs.jl | 2 ++ base/reflection.jl | 2 ++ 2 files changed, 4 insertions(+) diff --git a/base/docs/basedocs.jl b/base/docs/basedocs.jl index 80100bfb6b3e4..062a9e554aa9a 100644 --- a/base/docs/basedocs.jl +++ b/base/docs/basedocs.jl @@ -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) diff --git a/base/reflection.jl b/base/reflection.jl index 25de43a3270dd..2382766b743d0 100644 --- a/base/reflection.jl +++ b/base/reflection.jl @@ -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})