infer

Function is_supported

Source
pub fn is_supported(extension: &str) -> bool
Expand description

Returns whether an extension is supported.

ยงExamples

assert!(infer::is_supported("jpg"));