Preparing search index...
The search index is not available
Participants - v0.13.6
Participants
utils/media
getMediaTypeByFilename
Function getMediaTypeByFilename
get
Media
Type
By
Filename
<
T
>
(
filename
?
)
:
T
Returns the media type based on the extension.
Type Parameters
T
extends
Media
Parameters
Optional
filename
:
string
The filename to check.
Returns
T
The media type.
Since
0.5.0
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Participants - v0.13.6
Loading...
Returns the media type based on the extension.