Skip to content
MapSVG 8/Documentation

getFileType()

function getFileType(url): "JS" | "CSS" | "Unknown";

Gets the file type from a URL.

ParameterTypeDescription
urlany

"JS" | "CSS" | "Unknown"

“JS”, “CSS”, or “Unknown”