We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fad97b commit 78dfcb0Copy full SHA for 78dfcb0
src/types.jl
@@ -62,7 +62,7 @@ Get all the metadata of a term or `nothing` if no metadata is defined.
62
63
"""
64
metadata(s::Symbolic) = s.metadata
65
-metadata(s::Any) = x
+metadata(s::Any) = nothing
66
67
function hasmetadata(s::Symbolic, ctx)
68
metadata(s) isa AbstractDict && haskey(metadata(s), ctx)
0 commit comments