The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Algebraic._is
mir
algebraic
Algebraic
Checks if the underlaying type is an element of a user provided type set.
bool
_is
()
bool
_is
()
struct
Algebraic
(T__...)
@
safe
pure nothrow @
nogc
const @
property
bool
_is
(
RetTypes
...
)
(
)
if
(
RetTypes.length
> 1
)
alias
_is
(
Kind
kind
)
=
_is
!(
AllowedTypes
[
kind
])
alias
_is
(
immutable
(
char
)[]
kind
)
=
_is
!(
__traits
(
getMember
,
Kind
,
kind
))
bool
_is
()
Meta
Source
See Implementation
mir
algebraic
Algebraic
aliases
AllowedTypes
constructors
this
enums
Kind
functions
_is
get
isNull
isOk
kind
nullify
opAssign
opCast
opCmp
opEquals
opSlice
toHash
toString
trustedGet
static functions
_void
static variables
metaFieldNames__
typeFieldNames__
Checks if the underlaying type is an element of a user provided type set.