The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Algebraic._is
mir
algebraic
Algebraic
Checks if the storage stores an allowed type.
bool
_is
()
bool
_is
()
alias
_is
(
Kind
kind
)
=
_is
!(
AllowedTypes
[
kind
])
alias
_is
(
immutable
(
char
)[]
kind
)
=
_is
!(
__traits
(
getMember
,
Kind
,
kind
))
bool
_is
()
struct
Algebraic
(T__...)
const @
property
nothrow @
nogc
bool
_is
(
E
)
(
)
if
(
is
(
E
==
T
)
)
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 storage stores an allowed type.