Skip to content

Commit dae7a0d

Browse files
committed
Compat annotation for #29679 (isnothing).
1 parent b878c50 commit dae7a0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

base/some.jl

+3
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ notnothing(::Nothing) = throw(ArgumentError("nothing passed to notnothing"))
4545
isnothing(x)
4646
4747
Return `true` if `x === nothing`, and return `false` if not.
48+
49+
!!! compat "Julia 1.1"
50+
This function requires at least Julia 1.1.
4851
"""
4952
isnothing(::Any) = false
5053
isnothing(::Nothing) = true

0 commit comments

Comments
 (0)