☰
D
dejadoc
PHOBOS
/
std.algorithm.sorting
/
isPartitioned
🔍
☾
isPartitioned
fn
bool isPartitioned(alias pred,
Range
)(
Range
r) if (isForwardRange!(
Range
))
Parameters
pred
The predicate that the range should be partitioned by.
r
The range to check.
Returns
true
if
r
is partitioned according to predicate
pred
.