Utils

Index

Documentation

CTDirect.package_loadedMethod
package_loaded(pkg::String) -> Bool

Check whether a package with the given name is currently loaded.

Arguments

  • pkg::String: The name of the package to check.

Returns

  • is_loaded::Bool: true if the package is loaded, false otherwise.

Example

julia> package_loaded("LinearAlgebra")
true
source
CTDirect.versionMethod
version() -> String

Return the version number of the current package as a string.

Returns

  • version::String: The version of the current module.

Example

julia> version()
"1.2.3"
source