dub v1.39.0-beta.1 (2024-07-01T22:51:36Z)
Dub
Repo
Dependency.optional
dub
dependency
Dependency
Determines if the dependency is required or optional.
bool
optional
[@property getter]
struct
Dependency
@
property
const scope @
safe
pure nothrow @
nogc
bool
optional
(
)
bool
optional
[@property setter]
Meta
Source
See Implementation
dub
dependency
Dependency
constructors
this
functions
mapToPath
matches
matchesAny
merge
opCmp
opEquals
toJson
toString
valid
properties
any
default_
invalid
isExactVersion
optional
path
repository
versionSpec
version_
static functions
fromJson
static variables
Any
Invalid
Determines if the dependency is required or optional.