The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
TaggedUnion.hasType
taggedalgebraic
taggedunion
TaggedUnion
TaggedUnion
Checks whether the currently stored value has a given type.
struct
TaggedUnion
@
property
const
bool
hasType
(
T
)
(
)
Meta
Source
See Implementation
taggedalgebraic
taggedunion
TaggedUnion
TaggedUnion
aliases
Kind
functions
opCast
opEquals
set
toHash
toString
properties
hasType
kind
value
Checks whether the currently stored value has a given type.