cairo_native_runtime

Function format_next_item

Source
pub fn format_next_item<T>(values: &mut T) -> Option<FormattedItem>
where T: Iterator<Item = Felt> + Clone,
Expand description

Formats a string or a short string / felt252. Returns the formatted string and a boolean indicating whether it’s a string. If can’t format the item, returns None.