We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2bc318 commit 02de8d0Copy full SHA for 02de8d0
base/nullable.jl
@@ -70,7 +70,8 @@ getindex(x::Nullable) = isnull(x) ? throw(NullException()) : x.value
70
"""
71
get(x::Nullable)
72
73
-Alias for `getindex(x::Nullable)`.
+Attempt to access the value of `x`. Throw a `NullException` if the value is not
74
+present.
75
76
get(x::Nullable) = x[]
77
doc/stdlib/base.rst
@@ -826,7 +826,7 @@ Nullables
826
827
.. Docstring generated from Julia source
828
829
- Attempt to access the value of ``x``\ . Returns the value if it is present; otherwise, returns ``y`` if provided.
+ Attempt to access the value of ``x``\ . Returns the value if it is present; otherwise, returns ``y``\ .
830
831
.. function:: getindex(x::Nullable)
832
0 commit comments