discard

A sink that discards all data written to it.

void
discard
(
S
)
()

Examples

import std.range : iota;
"not important".discard();
iota(31337).discard();

Meta