dub ~master (2022-02-19T01:31:13.8519367)
Dub
Repo
Dependency.optional
dub
dependency
Dependency
Determines if the dependency is required or optional.
bool
optional
[@property getter]
bool
optional
[@property setter]
struct
Dependency
@
safe
@
property
void
optional
(
bool
optional
)
Meta
Source
See Implementation
dub
dependency
Dependency
constructors
this
functions
mapToPath
matches
matchesAny
merge
opCmp
opEquals
toHash
toJson
toString
valid
properties
any
default_
invalid
isExactVersion
isSCM
optional
path
repository
versionSpec
version_
static functions
fromJson
Determines if the dependency is required or optional.