LinkedList.removeByElem

Removes an index if the value is found. Returns the original if found, or E.init if not.

struct LinkedList(E, bool allowDuplicates = true, alias equal = "a == b")
@safe pure nothrow
static if(!(allowDuplicates))
E
removeByElem
()

Meta