function extensionsByTypeimport { extensionsByType } from "https://dotland.deno.dev/std@0.219.1/media_types/extensions_by_type.ts"; extensionsByType(type: string): string[] | undefinedReturns the extensions known to be associated with the media type type. When type has no associated extensions, the function returns undefined. Extensions are returned without a leading .. ExamplesExample 1 import { extensionsByType } from "https://deno.land/std@0.219.1/media_types/extensions_by_type.ts"; extensionsByType("application/json"); // ["json", "map"] extensionsByType("text/html; charset=UTF-8"); // ["html", "htm", "shtml"] extensionsByType("application/foo"); // undefined Parameterstype: stringReturnsstring[] | undefined