pullBy

Removes elements from a range by a publicly visible field of ElemntType!Range

ref
pullBy
(
string member
alias pred = null
Range
Values...
)
(
return ref Range range
,
Values values
)
if (
from!"std.range".isInputRange!Range
)

Parameters

range
Type: Range

a mutable range

values
Type: Values

variables args of ranges and values to pull out

member

which member in ElementType!Range to pull by

pred

a unary transform predicate or binary equality predicate. Defaults to ==.

Return Value

Type: ref

Modified range

Meta

Since

0.0.1