The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Algebraic._is
mir
algebraic
Algebraic
_is
overload that accept
.Algebraic.Kind
.
bool
_is
()
bool
_is
()
alias
_is
(
Kind
kind
)
=
_is
!(
AllowedTypes
[
kind
])
import mir.algebraic;
struct
Algebraic
(T__...)
static if
(
typeFieldNames__.length
)
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__
_is overload that accept .Algebraic.Kind.