kaven-basic - v6.0.0
    Preparing search index...

    Function GetMediaTypesByExtension

    • Retrieves an array of media types that match the given file extension.

      Parameters

      • fileExtension: string

        The file extension to search for (e.g., ".jpg", "png").

      Returns IMediaType[]

      An array of IMediaType objects whose extensions match the provided file extension.

      6.0.0

      2025-07-04