phobos-next ~master (2024-03-19T05:49:32Z)
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