Skip to content

Function limits::text_within

zaun_community_protocol::limits::text_within · Function

pub fn text_within(text: &str, (min, max): (usize, usize)) -> bool

Whether text has between min and max Unicode scalar values and at most 4× max bytes.

Full rustdoc page