Skip to main content

is_image_input

Function is_image_input 

Source
pub fn is_image_input(media_type: &str, original_name: &str) -> bool
Expand description

Detects image attachments from their declared media type or original extension.