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