infer

Function is_mime_supported

Source
pub fn is_mime_supported(mime_type: &str) -> bool
Expand description

Returns whether a mime type is supported.

ยงExamples

assert!(infer::is_mime_supported("image/jpeg"));