Skip to main content

text_parts

Function text_parts 

Source
pub fn text_parts(content: &Value) -> usize
Expand description

The number of pieces of text content carries: 1 for a string, one per text part for an array, 0 for anything else.