From 242f39d022b0cbeaa8f25d8e791d10158d275eff Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Sun, 16 Jan 2022 15:08:15 -0800 Subject: [PATCH] Refine isunordered docstring --- base/operators.jl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/base/operators.jl b/base/operators.jl index 17b5c739d6b38..558d1ce870728 100644 --- a/base/operators.jl +++ b/base/operators.jl @@ -234,7 +234,11 @@ isgreater(x, y) = isunordered(x) || isunordered(y) ? isless(x, y) : isless(y, x) """ isunordered(x) -Return true if `x` is a value that is not normally orderable, such as `NaN` or `missing`. +Return `true` if `x` is a value that is not orderable according to [`<`](@ref), such as `NaN` +or `missing`. + +The values that evaluate to `true` with this predicate may be orderable with respect to other +orderings such as [`isless`](@ref). !!! compat "Julia 1.7" This function requires Julia 1.7 or later.