phobos-next ~master (2025-12-19T22:07:52.6441088)
Dub
Repo
isAmong.isAmong
nxt
algorithm_ex
isAmong
Undocumented in source. Be warned that the author may not have intended to support it.
bool
isAmong
(Value value)
template
isAmong
(values...)
bool
isAmong
(
Value
)
(
Value
value
)
if
(
haveCommonType
!(
Value
,
values
)
)
if
(
isExpressionTuple
!
values
&&
values.length
!= 0
)
bool
isAmong
(Value needle, Values haystack)
Meta
Source
See Implementation
nxt
algorithm_ex
isAmong
functions
isAmong