graphemes

Function graphemes 

Source
pub fn graphemes<'a, E, E2>(
    qty: impl TryInto<Repetition, Error = E>,
) -> Result<impl Pipe<&'a str, (Vec<&'a str>,), E2>, E>
where Incomplete: Into<E2>,
Expand description

takes qty of graphemes clusters from an input

assert_eq!(
    graphemes::<_, Incomplete>(..5).unwrap().apply("aỹe"),
    Ok(("", (vec!["a", "ỹ", "e"],)))
);