hasHoles

Undocumented in source. Be warned that the author may not have intended to support it.
bool
hasHoles
(
R
)
(
R r
)
if (
isInputRange!R &&
isIntegral!(ElementType!R)
)

Examples

assert([1].isLinearRamp);
assert([1, 2, 3].isLinearRamp);
assert(![1, 1].isLinearRamp);
assert(![1, 2, 1].isLinearRamp);
assert(![1, 2, 4].isLinearRamp);

Meta