has.has

The actual has function.

template has(T)
bool
has
(
Self
)
(
auto ref Self self
)
if ()

Parameters

self Self

the SumType to check.

Return Value

Type: bool

true if self contains a T, otherwise false.

Meta