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.
pkgversion
1 parent 23cfff2 commit 4ef52f5Copy full SHA for 4ef52f5
base/loading.jl
@@ -593,9 +593,8 @@ end
593
"""
594
pkgversion(m::Module)
595
596
-Return the version of the package that imported module `m`,
597
-or `nothing` if `m` was not imported from a package, or imported
598
-from a package without a version field set.
+If the module `m` belongs to a versioned package, return the
+version number of that package. Otherwise return `nothing`.
599
600
The version is read from the package's Project.toml during package
601
load.
0 commit comments