dmd ~master (2023-11-01T14:17:50Z)
Dub
Repo
Optional.create
dmd
root
optional
Optional
Creates an
Optional
with the given value
struct
Optional
(T)
nothrow static
Optional
!
T
create
(
T
val
)
Meta
Source
See Implementation
dmd
root
optional
Optional
constructors
this
functions
get
hasValue
isEmpty
isPresent
static functions
create
Creates an Optional with the given value