MIME.has_type-question-mark

You're seeing just the function has_type-question-mark, go back to MIME module for more information.
Link to this function

has_type?(file_extension)

View Source

Specs

has_type?(String.t()) :: boolean()

Returns whether an extension has a MIME type registered.

Examples

iex> MIME.has_type?("txt")
true

iex> MIME.has_type?("foobarbaz")
false