spasm v0.2.0-beta.8 (2020-09-12T08:27:15Z)
Dub
Repo
isDelegate
spasm
ct
Undocumented in source.
template
isDelegate (
T
...
)
if
(
T
.
length
== 1
) {
static if
(
is(typeof(&T[0]) U : U*) && is(typeof(&T[0]) U == delegate)
)
enum
bool
isDelegate
;
static if
(!(
is(typeof(&T[0]) U : U*) && is(typeof(&T[0]) U == delegate)
))
static if
(
is(T[0] W) || is(typeof(T[0]) W)
)
enum
bool
isDelegate
;
static if
(!(
is(typeof(&T[0]) U : U*) && is(typeof(&T[0]) U == delegate)
))
static if
(!(
is(T[0] W) || is(typeof(T[0]) W)
))
enum
bool
isDelegate
;
}
Members
Variables
isDelegate
enum
bool
isDelegate
;
Undocumented in source.
isDelegate
enum
bool
isDelegate
;
Undocumented in source.
isDelegate
enum
bool
isDelegate
;
Undocumented in source.
Meta
Source
See Implementation
spasm
ct
aliases
Identity
enums
isTuple
templates
FunctionTypeOf
Joiner
ParameterIdentifierTuple
Tuple
capitalize
from
getMember
getName
getNamedFields
getStringUDAs
isCallable
isDelegate
isFunctionPointer
isSomeFunction
replace
toLower
tuple
variables
distinctFieldNames