spasm v0.2.0-beta.8 (2020-09-12T08:27:15Z)
Dub
Repo
isSomeFunction
spasm
ct
Undocumented in source.
template
isSomeFunction (
T
...
)
if
(
T
.
length
== 1
) {
static if
(
is(typeof(&T[0]) U : U*) && is(U == function) || is(typeof(&T[0]) U == delegate)
)
enum
bool
isSomeFunction
;
static if
(!(
is(typeof(&T[0]) U : U*) && is(U == function) || is(typeof(&T[0]) U == delegate)
))
static if
(
is(T[0] W) || is(typeof(T[0]) W)
)
static if
(
is(W F : F*) && is(F == function)
)
enum
bool
isSomeFunction
;
static if
(!(
is(typeof(&T[0]) U : U*) && is(U == function) || is(typeof(&T[0]) U == delegate)
))
static if
(
is(T[0] W) || is(typeof(T[0]) W)
)
static if
(!(
is(W F : F*) && is(F == function)
))
enum
bool
isSomeFunction
;
static if
(!(
is(typeof(&T[0]) U : U*) && is(U == function) || is(typeof(&T[0]) U == delegate)
))
static if
(!(
is(T[0] W) || is(typeof(T[0]) W)
))
enum
bool
isSomeFunction
;
}
Members
Variables
isSomeFunction
enum
bool
isSomeFunction
;
Undocumented in source.
isSomeFunction
enum
bool
isSomeFunction
;
Undocumented in source.
isSomeFunction
enum
bool
isSomeFunction
;
Undocumented in source.
isSomeFunction
enum
bool
isSomeFunction
;
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