#iterator #generic #elements #trying

try_take

A generic function for trying to take elements out of an iterator

1 unstable release

0.1.0 Jun 19, 2023

#14 in #trying

33 downloads per month
Used in 2 crates

MIT/Apache

6KB

try_take

A generic function to take elements out of an iterator. It yields either an iterator or the length of the underlying iterator.

no_std

Only the core crate is required.

No runtime deps