Skip to main content

arr

Function arr 

Source
pub fn arr<S: Into<Spec>>(items: impl IntoIterator<Item = S>) -> Spec
Expand description

An array spec: arr([Token::String.into()]) is an array of strings, more than one item a tuple, none an array of anything.