phobos-next v0.3.8 (2020-08-04T23:11:21Z)
Home
Dub
Repo
hasPropertyFunction.hasPropertyFunction
nxt
traits_ex
hasPropertyFunction
Undocumented in source.
enum
hasPropertyFunction
;
template
hasPropertyFunction
(T, string name)
static if
(
__traits(hasMember, T, name)
)
enum
hasPropertyFunction
=
(!
is
(
typeof
(
__traits
(
getMember
,
T
,
name
)) ==
function
) &&
__traits
(
getOverloads
,
T
,
name
).
length
)
;
enum
hasPropertyFunction
;
Meta
Source
See Source File
nxt
traits_ex
hasPropertyFunction
manifest constants
hasPropertyFunction