map.map

The actual map function.

template map(alias fun)
map
(
T
E
)
(
Expected!(T, E) self
)
if (
is(typeof(fun(self.value)))
)

Parameters

self
Type: Expected!(T, E)

an Expected object.

Meta