ocean ~master (2021-10-22T21:44:26.740458)
Dub
Repo
hasMethod.hasMethod
ocean
meta
traits
Aggregates
hasMethod
Undocumented in source.
auto
hasMethod
;
template
hasMethod
(T, istring name, F)
static immutable
static if
(
hasMember!(T, name)
)
auto
hasMethod
=
is
(
typeof
(
mixin
(
"&T.init."
~
name
)) :
F
)
;
auto
hasMethod
;
Meta
Source
See Source File
ocean
meta
traits
Aggregates
hasMethod
static variables
hasMethod