Type Method
isFileExtension(_:supported:)
Checks if a given fileExtension is supported as a type of asset.
static func isFileExtension(_ fileExtension: String, supported type: DocumentationContext.AssetType) -> Bool
Parameters
fileExtensionThe file extension to check.
typeThe type of asset to check if the fileExtension is supported for.
Return Value
Whether or not the file extension is supported for the given type of asset.