phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
endsWith.endsWith
nxt
algorithm_ex
endsWith
Undocumented in source. Be warned that the author may not have intended to support it.
template
endsWith
(needles...)
@
trusted
uint
endsWith
(
Haystack
)
(
Haystack
haystack
)
if
(
!
is
(
CommonType
!(
typeof
(
Haystack.back
),
needles
) ==
void
)
)
if
(
isExpressionTuple
!
needles
&&
needles.length
!= 0
)
Meta
Source
See Implementation
nxt
algorithm_ex
endsWith
functions
endsWith