Function format_is_variant

Source
pub fn format_is_variant(format: &str) -> Result<bool>
Expand description

Returns true if the format is a variant (as opposed to a base format), false otherwise. Note that this seems to only return true for formats that are only variants, as opposed to things like character encodings that are variants in regard to the html format, but are also formats on their own terms.