Enum member isIopipe

evaluates to true if the given type is a valid ioPipe

enum isIopipe(T) = is(typeof(() { import std.range.primitives; import std.traits; auto t = T.init; auto window = t.window; alias W = typeof(window); static assert(isNarrowString!W || isRandomAccessRange!W); auto x = t.extend(size_t(0)); static assert(is(typeof(x) == size_t)); t.release(size_t(0)); } ));