Appearance
@halone/sdk / mimeMatches
function mimeMatches(pattern, mimeType): boolean;
Whether [mimeType] matches a pattern such as image/* or video/mp4.
image/*
video/mp4
string
string | null
null
boolean