phobos-next v0.3.9 (2020-08-07T21:50:30Z)
Home
Dub
Repo
withElementMake
nxt
array_ex
Return an instance of
R
containing a single element
e
.
R
withElementMake
(typeof(R.init[0]) e)
R
withElementMake
(
R
)
(
typeof
(
R.init
[0])
e
)
if
(
hasMember
!(
R
, "withElement")
)
R
withElementMake
(typeof(R.init[0]) e)
Meta
Source
See Implementation
nxt
array_ex
enums
Assignment
Ordering
isOrdered
functions
append
withCapacityMake
withElementMake
withLengthMake
templates
isArrayContainer
Return an instance of R containing a single element e.