HashMap.opCast

Implement boolean conversion for a map.

struct HashMap(K, V)
@nogc @safe pure nothrow
bool
opCast
const
(
T : bool
)
(
)
if (
isAssignmentCopyable!(Unqual!K) &&
isAssignmentCopyable!(Unqual!V)
)

Return Value

Type: bool

True if this set is not empty.

Meta