dub v1.32.1-beta.1 (2023-04-15T20:33:32Z)
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
@
property
scope @
safe
pure nothrow @
nogc
void
optional
(
bool
optional
)
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
Determines if the dependency is required or optional.