isPartitioned

fnbool isPartitioned(alias pred, Range)(Range r) if (isForwardRange!(Range))

Parameters

predThe predicate that the range should be partitioned by.
rThe range to check.

Returns

true if r is partitioned according to predicate pred.