remove is_installed
This commit is contained in:
parent
d9be97fc45
commit
22c3afd8a0
@ -412,14 +412,6 @@ end
|
|||||||
isijulia() = :IJulia in nameof.(collect(values(Base.loaded_modules)))
|
isijulia() = :IJulia in nameof.(collect(values(Base.loaded_modules)))
|
||||||
isatom() = :Atom in nameof.(collect(values(Base.loaded_modules)))
|
isatom() = :Atom in nameof.(collect(values(Base.loaded_modules)))
|
||||||
|
|
||||||
function is_installed(pkgstr::AbstractString)
|
|
||||||
try
|
|
||||||
Pkg.installed(pkgstr) === nothing ? false : true
|
|
||||||
catch
|
|
||||||
false
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
istuple(::Tuple) = true
|
istuple(::Tuple) = true
|
||||||
istuple(::Any) = false
|
istuple(::Any) = false
|
||||||
isvector(::AVec) = true
|
isvector(::AVec) = true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user