skipOverFrontAndBack

Drop either both prefix frontPrefix and suffix backSuffix or do nothing.

bool
skipOverFrontAndBack
(
alias pred = "a == b"
R
E
F
)
(
scope ref R r
,
scope E frontPrefix
,
scope F backSuffix
)
if (
isBidirectionalRange!R &&
is(typeof(binaryFun!pred(ElementType!R.init, E.init)))
&&
is(typeof(binaryFun!pred(ElementType!R.init, F.init)))
)

Return Value

Type: bool

true upon drop, false otherwise.

Meta