phobos-next v0.5.0 (2022-11-28T21:32:24Z)
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